Method Html3():getFile() Professional
![B:0355] Get the content of a file that was uploaded to the WAA server.
:getFile( <cFilename> | <cVarName> ) --> cFileContents | NIL
The method returns the contents of the file that was uploaded to the server.
Retrieving a file that was uploaded to the WAA server must be accomplished in two steps: first, retrieve the filename using the method :getVar(), then use this method to retrieve the file's contents.
Note that the encoding of the HTML form must have been specified as "multipart/form-data" in order to transfer the file contents.
Code of the HTML form:
PRG code to retrieve the file's contents:
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.