![]() |
VOOZH | about |
The ASP size property is used to return the size of the specified file or folder. It returns the value in terms of bytes.
Syntax:
FileObject.Size
FolderObject.Size
Example-1: Below code returns the size of a file.
Output:
The size of GFG.asp is: 100323 bytes.
Example-2: Below code returns a size of a folder.
Output
The size of the folder test is: 123456 bytes.