Represents a file that has been successfully uploaded.

package Haldayne

 Methods

Get the file name the client gave us for this file, if any.

getClientFilename() 

Do not rely on this file name for anything but display, because you cannot trust that it contains safe characters.

Get the HTML variable name.

getHtmlName() : string
APIInherited
api
since 1.0.0

Returns

string

Get the MIME analyzer for the file

getMimeAnalyzer() 

Get the temporary file holding this upload. You must move this file before the request ends to keep the upload.

getServerFile() 
see

 Properties

 

$file

$file 

Default

 

$name

$name 

Default

 

The HTML name we were given.

$htmlName : string

Default