WebCommon.Uploaded(3kaya)
NAME
WebCommon::Uploaded - An uploaded file.
SYNOPSIS
WebCommon::Uploaded< > = Uploaded()
DESCRIPTION
Represents a file uploaded using HTTP POST. These files can be
retrieved with WebCommon.incomingFile (3kaya) or WebCommon.incomingFiles (3kaya) , and information about the file can be returned with
WebCommon.originalName (3kaya) (to retrieve the original filename),
WebCommon.tempPath (3kaya) (to get the temporary filesystem path) and
WebCommon.contentType (3kaya) (to get the browser-reported contenttype).
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.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
The Kaya standard library is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License (version 2.1 or any later version) as published by the Free
Software Foundation.
RELATED
- WebCommon.incomingFile (3kaya) WebCommon.incomingFiles (3kaya) WebCommon.originalName (3kaya) WebCommon.tempPath (3kaya) WebCommon.contentType (3kaya)