Most browsers support file upload using the RFC-1867
specification. This allows files to be encoded using
multipart/mime and submitted using the HTTP POST method. Web
servers supporting file upload should decode the files and
store them locally before allowing CGI, PHP, ESP or equivalent
mechanisms to access and manage the uploaded files.
Appweb supports the file uploadfor browsers that support the
RFC-1867 specification. Embedded Server Pages and PHP provide
access to the uploaded files. This documentation will focus on
ESP access to uploaded files. Consult PHP documentation for
access using PHP. Currently the WebServer ESP implementation
does not support file upload.
When files are uploaded, they are created in a temporary
holding directory on disk. The location of the upload directory
is defined by the FileUploadDir configuration directive. For
each uploaded file, an object entry in the ESP files[] array
will be created. The name of these objects is given by the
upload field name in the ESP page.