<- Back to FTPit Pro function list
FTPit_GetRemoteFileSize
- Description
This function gives the size of a file on the FTP server. 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_GetRemoteFileSize ( File )
- Required Parameters
- File
The Remote File you need the size of. (Can be a Full Path, a Relative Path, or a File Name in the Current Remote Directory.)
- File