Namespace: ITHit.WebDAV.Server.ResumableUpload
The IResumableUpload type exposes the following members.
Name | Description | |
---|---|---|
BytesUploaded |
Amount of bytes successfully saved to your storage.
| |
LastChunkSaved |
The date and time when the last chunk of file was saved in your storage.
| |
TotalContentLength | Total file size that is being uploaded. |
Name | Description | |
---|---|---|
CancelUploadAsync |
In this method implementation you can delete partially uploaded file.
|
You will implement this interface together with IUploadProgress interface when you would like to provide one or more of the following features:
The WebDAV Server Engine can process two types of upload requests:
To provide information about what segment of a file is being uploaded, the client application will attach optional Content-Range: bytes XXX-XXX/XXX header to PUT request.
Internet Explorer 9 and earlier limitations is unable to randomly read file content and upload content using PUT verb. To overcome this limitation the Engine can process files uploaded using POST verb. Internet Explorer 9 and earlier still can display upload progress submitting upload-progress REPORT request (see IUploadProgress interface description for more info).
<html> <head><title>POST Upload to WebDAV Server</title></head> <body> <form action="/mydocs/" method="post" enctype="multipart/form-data"> <input type="file" name="dummyname" /><br /> <input type="submit" /> </form> </body> </html>