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
Dancer2::Core::Request::Upload(3) User Contributed Perl Documentation Dancer2::Core::Request::Upload(3)

Dancer2::Core::Request::Upload - Class representing file upload requests

version 0.400000

This class implements a representation of file uploads for Dancer2. These objects are accessible within route handlers via the request->uploads keyword. See Dancer2::Core::Request for details.

Filename as sent by client. optional. May not be undef.

The name of the temporary file the data has been saved to. Optional. May not be undef.

A hash ref of the headers associated with this upload. optional. is read-write and a HashRef.

The size of the upload, in bytes. Optional.

Returns the filename (full path) as sent by the client.

Returns the name of the temporary file the data has been saved to.

For example, in directory /tmp, and given a random name, with no file extension.

Returns a hashRef of the headers associated with this upload.

Returns a read-only file handle on the temporary file.

Copies the temporary file using File::Copy. Returns true for success, false for failure.
Creates a hard link to the temporary file. Returns true for success, false for failure.

Returns a scalar containing the contents of the temporary file.

Returns basename for "filename".

Returns the Content-Type of this upload.

Dancer2

Dancer Core Developers

This software is copyright (c) 2022 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-03-14 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.