http Pause method
Return to Introduction  Previous page  Next page
Applies to
auHTTP component.  

Declaration
procedure Pause;  

Description
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).  
 
iiinfo 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.  
 
tip 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.  

See also
OutputFileName and CacheOptions properties;  
Read, Pause and Resume methods;  
OnAborted event.  
File not found.