func X3.EN_FILE_UPLOAD(Char PATH_IN) : Integer

Request a file on the user's workstation and drop it on the server

  • PATH_IN Char Full path or volume to the file sent, moved and renamed (if empty, return the file name sent in [V]GX3MESS)
Return Integer 0 if sending failed or file size otherwise
Example

func X3.EN_FILE_UPLOAD(filpath("tmp","fichierup","txt"))
Request a file from the user and move it to the tmp directory as fileup.txt