Jaxer.Request.FileInfo : Object
Return to: Jaxer Framework index

Container for information about uploaded files.

Platform Support

Jaxer Server FrameworkJaxer Client Framework
1.0no

Constructors

ConstructorActionJaxer Server FrameworkJaxer Client Framework
Jaxer.Request.FileInfo Constructor(Object req, Number i) : Jaxer.Request.FileInfo
A container for information about uploaded files. The constructor is not meant to be called directly.

(Advanced)
Show Details1.0no

Jaxer.Request.FileInfo(Object req, Number i) : Jaxer.Request.FileInfo

A container for information about uploaded files. The constructor is not meant to be called directly.

(Advanced)

Parameters
ObjectreqThe Jaxer Core's request object
NumberiAn index into the list of uploaded files

Returns
Jaxer.Request.FileInfoReturns an instance of FileInfo.

Visibility
advanced

Properties

PropertyActionJaxer Server FrameworkJaxer Client Framework
tempFileName : String
The name under which the file was temporarily saved

(Advanced)
No Details 1.0no
Visibility
advanced
contentType : String
The content type of this file, as reported by the web server
No Details 1.0no
elementName : String
The name of the field as specified in the HTML form
No Details 1.0no
fileName : String
The original name of the file that was actually uploaded from the user's filesystem
No Details 1.0no
fileSize : Number
The size of the file contents, in bytes
No Details 1.0no
index : Number
An index into the list of uploaded files
No Details 1.0no
originalFileName : String
The original name of the file that was actually uploaded from the user's filesystem
No Details 1.0no

Functions

MethodActionJaxer Server FrameworkJaxer Client Framework
save(String newFileName) : void
Save the uploaded file to the given path -- otherwise it will be automatically purged after this request
Show Details1.0no

Parameters
StringnewFileNameThe name (or full path) of the file to which the uploaded file should be saved.

aptana_docs