ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The NameBrowserFile property gets the original name of the file to upload from the user's computer. This property is only available for multi-file Upload controls.
Example
// The uploaded files are copied to a directory on the server with their initial name
FOR I = 1 _TO_ UPL_Upload.Count
UploadCopyFile(UPL_Upload, gsPathUploadedFiles, "", I)
Trace(UPL_Upload[I].NameBrowserFile, UPL_Upload[I].NameServerFile)
END
Syntax

Getting the original name of the file to upload from the user's computer Hide the details

<Result> = <Upload control>[<File ID>].NameBrowserFile
<Result>: Character string
Original name of the uploaded file (i.e. file on the user's computer).
<Upload control>: Control name
Name of the Upload control to be used.
<N>: Integer
Number of the file in the Upload control.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment

Last update: 01/31/2024

Send a report | Local help