IResumableUpload.GetBytesUploaded Method 

IT Hit WebDAV for .NET

Amount of bytes successfully uploaded to server.

[Visual Basic]
Function GetBytesUploaded() As Long
[C#]
long GetBytesUploaded();

Return Value

Number of bytes uploaded to server or -1 if server did not provide info about how much bytes uploaded.

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.

Exceptions

Exception TypeCondition
NotImplementedExceptionIs thrown if server doesn't support resumable upload.
NotFoundExceptionThis resource doesn't exist on the server.
WebDavHttpExceptionServer returned unknown error.
WebDavExceptionUnexpected error occurred.

See Also

IResumableUpload Interface | ITHit.WebDAV.Client Namespace