Request upload cancellation.
This method requests for upload termination. Note it doesn’t stop upload immediately. Upload cancellation is checked periodically. There is a slight change the upload completes before cancellation discovered.
As a result of upload cancellation Upload component stops reading the post request, Save method terminates. But the client (a browser, for example) will still send data; we cannot stop it from a server. So upload cancellation is not a cancellation of upload process it just cancellation of upload processing.
If an upload was cancelled, both Files and Form properties will hold empty collections.
The browser sending data will continue to do so until all data will be delivered . At the same time “Save” method completed a long ago. Asp page has completed too, it is ready to be received, but the browser is busy. As soon as asp page completes processing and Upload object destroyed a special timer starts to count statistics data time. 10 minutes later statistics will be destroyed, but a browser may continue to upload data. In this rare case a progress dialog will show, the message something like: “Upload has not started yet or a long time ago completed”.