downloading long files

John Abel john.abel at pa.press.net
Tue Dec 16 06:37:10 EST 2003


If I remember rightly, there is python code for a resumable HTTP 
downloader in the Python Cookbook.  I don't think it would take much 
work for it to handle FTP, too.

Regards

John

Michele Simionato wrote:

>garabik-news-2002-02 at kassiopeia.juls.savba.sk (Radovan Garabik) wrote in message news:<brmds0$4qqjm$1 at ID-89407.news.uni-berlin.de>...
>  
>
>>Michele Simionato <michele.simionato at poste.it> wrote:
>>    
>>
>>>I have a connection which is not 100% rock solid, so if I try
>>>to download a large file (i.e. a Linux ISO image) chances are
>>>that the connection will break. Is there a way to check periodically
>>>if the connection is open, reopen it if needed, and continue the
>>>download without restarting from the beginning?
>>>      
>>>
>>yes, use wget http://www.gnu.org/directory/wget.html
>>or are you looking for a pure python solution?
>>    
>>
>
>A pure Python solution would be preferable, indeed.
>
>   Michele
>  
>





More information about the Python-list mailing list