Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

AbortUploadDocument Method

Show in webframe
The uri data is begin uploaded to with UploadDocument.
Informs the cache to stop allowing uploads of the document to this uri.
Syntax
 function Leadtools.Documents.DocumentFactory.abortUploadDocument( 
   uri 
)

Parameters

ParameterTypeDescription
uristringThe uri data is begin uploaded to with UploadDocument.

Return Value

TypeDescription
jQueryApi.IDeferred A voidPromise object that may resolve succesfully.
Remarks

After BeginUpload has resolved and returned a uri, UploadDocument is used to upload chunks of data to the server. AbortUploadDocument is used to clear the cache entry for the document upload when the developer knows the upload will not be completed.

Unlike with UploadFile, the Promise object returned by UploadDocument does not have an Abort method. Instead, AbortUploadDocument must be called. This will not necessarily cause the Promise object from this method to fail immediately, but continued calls to UploadDocument will.

Refer to Uploading Using LEADTOOLS Documents Library for more information on how to use this method.

Example
Refer to UploadDocument for an example.
See Also

Reference

DocumentFactory Object
DocumentFactory Members

Error processing SSI file