GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::Web::FileUpload(3) User Contributed Perl Documentation Jifty::Web::FileUpload(3)

Jifty::Web::FileUpload - Describes an HTTP file upload

Currently this module is very much geared towards the use case of the current request offering a file upload, and inspecting CGI to produce metadata.

Refactorings to eliminate these assumptions are very welcome.

Creates a new file upload object. The possible arguments in the "PARAMHASH" are:
filehandle
The filehandle to read the content from. If this is not an Fh object produced by CGI, then "content_type" is mandatory and you probably want to set "filename" yourself.
content (optional)
The upload's content. Will be intuited if possible.
filename (optional)
The upload's filename as given by the client (i.e. ¬ on disk). Will be intuited if possible.
content_type (optional)
The content type as reported by the client.

Lazily slurps in the filehandle's content.

Convenience method, since the other bits can be gleaned from the Fh object.

2013-01-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.