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 BrowserFileName property is used to get the original name of the file to upload on the user's computer. This property is available for the 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 on 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 considered as being found in the Upload control.
Minimum version required
  • Version 15
Comments
Click [Add] to post a comment

Last update: 02/02/2023

Send a report | Local help