<- Back to SMTPit Pro function list
SMTPit_File_Size
- Description
This function returns the size of a file.
- Return Type
- Number
- Format
- SMTPit_File_Size ( File )
- Required Parameters
- File
The Path and File Name of the File you need the size of.
- File
- Related Items
- SMTPit_File_Copy, SMTPit_File_Delete, SMTPit_File_Exists, SMTPit_File_Export, SMTPit_File_GetPath, SMTPit_File_Move, SMTPit_File_Rename, SMTPit_File_SelectFileWithDialog, SMTPit_File_SelectFolderWithDialog
- Examples
Example 1
Code:
SMTPit_File_Size("c:\images\big.jpg")Result:
Returns the size of the "big.jpg" file on Windows.Example 2
Code:
SMTPit_File_Size("/Images/big.jpg")Result:
Returns the size of the "big.jpg" file on Mac.