Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Miroslav Kopecky

Greenhorn
+ Follow
since Nov 03, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Miroslav Kopecky

Hello, I don't have much experience with JAVA mail programming and I need help with one task.
I have this code (this is a part of all code; if you need to see whole code, I can send) and I need to write an attachment size to a new variable and then write that size to a table. I searched the web and found out that size could be get from getSize() function or by counting bytes of file but I don't know how can I write this codes.
Thanks in advance.

2 weeks ago