PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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 into 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> = <Name of Upload control>[<File identifier>]..NameBrowserFile
<Result>: Character string
Original name of the uploaded file (i.e. file on the user's computer).
<Upload control>: Control name
Name of Upload control to use.
<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