Kaya 0.5.2 reference for WebCommon::Uploaded

List of functions and data types in WebCommon

WebCommon::Uploaded

Constructors

Usage

Represents a file uploaded using HTTP POST. These files can be retrieved with incomingFile or incomingFiles, and information about the file can be returned with originalName (to retrieve the original filename), tempPath (to get the temporary filesystem path) and contentType (to get the browser-reported content-type).

There are various ways to set a temporary directory for file uploads. If none of these are used, the directory containing the CGI will be used, which is strongly discouraged except for testing purposes.

Related

kaya@kayalang.org | Last modified 13 July 2009 | Supported by Durham CompSoc | Powered by Kaya