FileUpload

Represents a file-upload from an HTTP multipart form submission.

package

Default

Methods

__construct

__construct() 

charSet

charSet() : string

Response

string

the charset of the upload

contentTransferEncoding

contentTransferEncoding() : string

Response

string

the content transfer encoding of the upload - this describes how the upload was encoded in the form submission.

contentType

contentType() : string

Response

string

the content type (MIME type) of the upload

fileName

fileName() : string

Response

string

the file name of the upload as provided in the form submission

name

name() : string

Response

string

the name of the upload as provided in the form submission

size

size() : integer

Response

integer

the size of the upload, in bytes

uploadedFileName

uploadedFileName() : string

Response

string

the actual temporary file name on the server where the file was uploaded to.