This object is passed to ITHit.WebDAV.Client.Upload.UploadItem#event:OnBeforeUploadStarted.
You can validate these item as well as specify if item should be overwritten.
To continue upload the ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted#Upload function should be called.
To skip upload the ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted#Skip function should be called.
Extends
Members
-
Name :string
Name -
Event name.
-
Sender :Object
Sender -
Event source.
Methods
-
inherited GetIsHandled() → {boolean}
GetIsHandled -
This methods return value that indicates that event already processed.
Returns:
boolean - True if event was processed, false otherwise. -
Skip()
Skip -
Change item state to ITHit.WebDAV.Client.Upload.State.Skipped.
-
Upload()
Upload -
Continues items upload. If item should not upload call ITHit.WebDAV.Client.Upload.Events.BeforeUploadStarted#Skip method. If any items in the upload list should be overwritten call ITHit.WebDAV.Client.Upload.UploadItem#SetOverwrite(true) on item.