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"
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |