ftplib error- Large file
gagsl-py2 at yahoo.com.ar
Wed Jun 6 23:48:06 CEST 2007
En Wed, 06 Jun 2007 13:39:57 -0300, <half.italian at gmail.com> escribió:
> I'm using ftplib to transfer large files to remote sites. The process
> seems to work perfectly with small files, but when the file gets to
> large ~20GB I begin getting errors that sometimes seem to be non-
> fatal, and other times the transfer does not complete. I've debugged
> the hell out of the code, and can't figure out what is going on..is it
> the remote site? Packet loss?
> IOError: [Errno 104] Connection reset by peer
You always have to consider a connection failure - it's just more likely
to happen on a big file.
The REST ftp command is used to restart the transfer from a certain offset.
More information about the Python-list