Resuming a file download with python

Robert Harris Robert.Harris at gmx.net
Sat Oct 21 10:53:22 EDT 2000


Thanks,

I'll try it

--
Regards
    Robert Harris


"Dan Schmidt" <dfan at harmonixmusic.com> schrieb im Newsbeitrag
news:wkem1al5c8.fsf at turangalila.harmonixmusic.com...
> "Robert Harris" <Robert.Harris at gmx.net> writes:
>
> | I want to resume a file download with python. It would be
> | either the http or ftp protocol used. How could I do it or isn't
> | it possible ? I browsed through the docs of the http and ftp objects
> | but didn't find anything.
>
> ftplib started supporting this in 2.0 (two days after I hacked it into
> my own copy of the library :).  retrbinary() now takes an optional
> 'rest' parameter to tell it how many bytes into the file to seek
> before starting to download.
>
> --
>                  Dan Schmidt | http://www.dfan.org
> Honest Bob CD now available! | http://www.dfan.org/honestbob/cd.html





More information about the Python-list mailing list