The following tables list the members exposed by UploadInfo.
Name | Description | |
---|---|---|
UploadInfo Constructor | Initialize file upload info |
Name | Description | |
---|---|---|
AdditionalDataFields | Gets the additional data fields that could be submitted while uploading the file. It returns dictionary which has as a key - the name of the submitted data field and as a value - the value of the data field If the browser supports HTML5 file API - like latest versions of Chrome, Mozilla FF, IE - data fields(like username) are added to the FormData object which is sent to the server via XMLHttpRequest object If the browser does NOT support HTML5 file API - like older versions of IE - IE10 and earlier - then these values are added as hidden fields to the form(that contains uploading file and is submitted to the server) These fields are inside the header of the http request | |
Error | Get file error status | |
FileName | Get file name of the uploading file | |
FileSize | Get total file size in bytes of the uploading file | |
FileStatus | Get file status of the uploading file | |
FileStream | Get stream of the uploading file | |
FolderPath | Get folder path where the file is saved while uploading | |
IsServerSideCancelled | Check if file upload is cancelled by server side | |
MimeType | Get MIME type of the uploading file | |
ServerMessage | server message which is sent to the client. | |
TemporaryFileName | Get temporary file name - when file is uploading it is saved with temporary file name | |
UploadedBytes | Get currently uploaded bytes |
Name | Description | |
---|---|---|
CancelUpload | Cancel upload - set status of the file to cancel and calls request processor to cancel upload |