This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Retrives the size of an upload file.
Syntax
n = CGI_UploadFileSize(nFileNumber)
Returns
Return a number.
Returns 0 if the function fails, otherwise the requested file size in bytes.
Parameters
Name |
Type |
Optional |
Meaning |
nFileNumber |
Number |
No |
Specify the ordinal file number to query for size. |
Remarks
CGI can handle up to ten file upload per request (one page).
Restrictions
See also
CGI_UploadFilesNumber, CGI_UploadFilesTime
Examples
echo("The first uploaded file size is " + CGI_UploadFileSize(1) + " bytes"