Uploading Text Input Files to the Web

To provide increased security for applications running in HTML thin client mode, a text file input by using the TextBox class webInputType property with a value of Web_InputType_File must be processed in the event that resulted in the file upload occurring (for example, in the click method of a Completed button).

To prevent malicious use of files uploaded to Web-enabled applications, the files are removed as soon as the event that resulted in their upload has completed. You should therefore process the file immediately or move it into a directory that is not available from the Web if you require that file for future processing.

For details about the webInputType property, see Chapter 2 of your JADE Encyclopaedia of Classes. For details about specifying the directory to which the file is written, see "Controlling the Location of Files Uploaded via a Web Application", in Chapter 2 of the JADE Installation and Configuration Guide.