Pause method
|
auHTTP component.
|
procedure Pause;
|
The Pause method terminates execution of running download process. Actually, this method is the same as "Abort" method with both its optional parameters set to False: Abort(False, False).
|
|
The download process can be resumed, in case if you downloading data to file specified in OutputFileName property. You just need specify the incompletely downloaded file to OutputFileName property again and call Resume method.
|
|
However, even if you're downloading the data just to memory instead of file, the component can easily resume the downloading (on call of Read method), because of smart behaviours of Internet Explorer's cache. In case if you have specified to use cache in the CacheOptions property everything can be retreived from cache, even broken, interrupted downloads.
|
OutputFileName and CacheOptions properties;
|
Read, Pause and Resume methods;
|
OnAborted event.
|