CGI_UploadFileSize
<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CGI > CGI_UploadFileSize |
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"