Suspending an Upload
An ongoing file upload can be manually suspended.
The following sample code shows how to suspend an ongoing file upload.
-
-
Call the suspend()
method to suspend an upload. An error will be returned if you attempt to suspend a finished upload.