UploadFile

Moduleejs.web
Definition class UploadFile
InheritanceUploadFile inherit Object
Specifiedejscript-1.1
StabilityEvolving.

Upload file class.

Users do not instantiate this class. Rather, the web framework will allocate and store instances in the Request.files hash.


Properties

QualifiersPropertyTypeDescription
public clientFilenameStringName of the uploaded file given by the client.
public contentTypeStringMime type of the encoded data.
public filenameStringName of the uploaded file. This is a temporary file in the upload directory.
public nameStringHTML input ID for the upload file element.
public sizeNumberSize of the uploaded file in bytes.

UploadFile Methods

QualifiersMethod
UploadFile()

Method Detail