Provides support partial uploads and resuming broken uploads.
Methods
-
CancelUploadAsync(mLockTokens, fCallback) → {ITHit.WebDAV.Client.Request}
CancelUploadAsync -
Cancels upload of the file.
Name Type Description mLockTokensstring Lock token for this file. fCallbackITHit.WebDAV.Client.ResumableUpload~CancelUploadAsyncCallback Function to call when operation is completed. Returns:
ITHit.WebDAV.Client.Request Request object. -
GetBytesUploadedAsync(fCallback) → {ITHit.WebDAV.Client.Request}
GetBytesUploadedAsync -
Get amount of bytes successfully uploaded to server.
Name Type Description fCallbackITHit.WebDAV.Client.ResumableUpload~GetBytesUploadedAsyncCallback Function to call when operation is completed. Returns:
ITHit.WebDAV.Client.Request Request object.
Type Definitions
-
CancelUploadAsyncCallback(oResult)
CancelUploadAsyncCallback -
Callback function to be called when folder loaded from server.
Name Type Description oResultITHit.WebDAV.Client.AsyncResult Result object -
GetBytesUploadedAsyncCallback(oResult)
GetBytesUploadedAsyncCallback -
Callback function to be called when result of bytes uploaded loaded from server.
Name Type Description oResultITHit.WebDAV.Client.AsyncResult Result object Name Type Description Resultnumber Number of bytes uploaded to server or -1 if server did not provide info about how much bytes uploaded.