Click or drag to resize

IResumableUploadGetBytesUploaded Method

IT Hit WebDAV Classes Reference
Amount of bytes successfully uploaded to server.

Namespace:  ITHit.WebDAV.Client
Assembly:  ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
Syntax
long GetBytesUploaded()

Return Value

Type: Int64
Number of bytes uploaded to server or -1 if server did not provide info about how much bytes uploaded.
Exceptions
ExceptionCondition
NotImplementedExceptionIs thrown if server doesn't support resumable upload.
NotFoundExceptionThis resource doesn't exist on the server.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionUnexpected error occurred.
Remarks

Usually you will use value returned by this property to restore broken upload.

This method submits REPORT request to a file with upload-progress type.

See Also