Version

UploadInfo Class Members

The following tables list the members exposed by UploadInfo.

Public Constructors
 NameDescription
Public ConstructorUploadInfo ConstructorInitialize file upload info  
Public Properties
 NameDescription
Public PropertyAdditionalDataFieldsGets 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  
Public PropertyErrorGet file error status  
Public PropertyFileNameGet file name of the uploading file  
Public PropertyFileSizeGet total file size in bytes of the uploading file  
Public PropertyFileStatusGet file status of the uploading file  
Public PropertyFileStreamGet stream of the uploading file  
Public PropertyFolderPathGet folder path where the file is saved while uploading  
Public PropertyIsServerSideCancelledCheck if file upload is cancelled by server side  
Public PropertyMimeTypeGet MIME type of the uploading file  
Public PropertyServerMessageserver message which is sent to the client.  
Public PropertyTemporaryFileNameGet temporary file name - when file is uploading it is saved with temporary file name  
Public PropertyUploadedBytesGet currently uploaded bytes  
Public Methods
 NameDescription
Public MethodCancelUploadCancel upload - set status of the file to cancel and calls request processor to cancel upload  
See Also