<- Back to FTPit Pro function list
FTPit_GetLocalFileSize
- Description
This function gives the size of a file on your local computer. The size returned is in bytes. To convert this to Kilobytes (KB) divide by 1024. To convert to Megabytes (MB), divide by 1048576. Finally, to convert to Gigabytes (GB), divide by 1073741824.
- Return Type
- Number
- Format
- FTPit_GetLocalFileSize ( File )
- Required Parameters
- File
The Local File you need the size of. (Can be a Full Path, a Relative Path, or a File Name in the Current Local Directory.)
- File