|
|
|
|
UploadFileSize (Function) In french: UploadTailleFichier Returns the total size (in bytes) of a file found in an Upload control. Remark: This function can be used even if there is no file is currently uploaded. // Displays the total file size in KB STC_TotalFileSize = Round(UploadFileSize(MySelf, 1) / 1024, 0) + "KB" Syntax
<Result> = UploadFileSize(<Upload control> [, <File index>])
<Result>: Integer Total size (in bytes) of the file found in the Upload control. <Upload control>: Control name Name of Upload control used. <File index>: Optional integer Index of the file (found in the Upload control) to manage. This parameter is set to 1 by default.
Related Examples:
|
Unit examples (WEBDEV): Uploading or Downloading a file
[ + ] This example explains how to upload (copy to the server) or download (download from the server) a file and it allows you to: - Copy a file from the browser computer to the server - Download a file found on the server - Download a file found on the server via a link - Download a file found on the server by requesting its opening
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|