(See the best response by LordAndrew.)
how can i retrieve a file size in a send file code?
Best response
You can use length() to get the size of a file. Keep in mind that it will return the file size in bytes, so you'll most likely want to simplify the result into something else (like kilobytes or megabytes).
In response to LordAndrew
thanks, and can u tell me if it there is anyway that i could make a send code that shows the progress of a file that has been sent? like the % of the file size if you get what i mean
In response to Madhead88
As far as I know it isn't possible to keep track of the progress of a file being sent.