Hi all
I am testing the way to change the location of the files to upload for each client, I have tried several methods (cWebResourceManager), the last one is:
Code:
Object oWebFileUploadButton1 is a cWebFileUploadButton
Set piColumnSpan to 0
Set psCaption to "Upload File(s)"
Function OnFileUpload String sFileName Integer iBytes String sMime Returns String
String sPath
Send RegisterUploadFolder of ghoWebResourceManager "C:\Temporal2"
Get UploadFolder of ghoWebResourceManager True to sPath
Move (sPath + "\"+sFileName) to sPath
Function_Return sPath
End_Function
End_Object
Some topics of the help is written for experts
Edgar