UploadFile
Module | ejs.web |
Definition | class UploadFile |
Inheritance | UploadFile ![]() |
Specified | ejscript-2.5 |
Stability | Evolving. |
Instances of UploadFile are created for each uploaded file.
The UploadFile instances are stored in the request.files property. Users should not create instances of UploadFile manually.
Properties
Qualifiers | Property | Type | Description |
---|---|---|---|
clientFilename | String | Name of the uploaded file given by the client. | |
contentType | String | Mime type of the encoded data. | |
filename | Path | Name of the uploaded file. This is a temporary file in the upload directory. | |
name | String | HTML input ID for the upload file element. | |
size | Number | Size of the uploaded file in bytes. |
UploadFile Class Methods
(No own class methods defined)
UploadFile Instance Methods
(No own instance methods defined)