Hi, it will be nice to add auto reconnect and auto resume (of course FTP server has to support it) during upload/download files. I have some FTP servers behind unstable internet line and these features would be liked. Thank you, Hanz
Hi Hanz,
Thanks for your suggestions!
I don't think that an automatic reconnect is a good idea because a dropped connection could have different reasons and not all of them should lead to a reconnection attempt. I'd rather make it simpler to continue an upload or download where it was interrupted.
At the moment, a workaround is to use the
rest
argument inFTPHost.open
and use the remote and the local file object withftputil.file_transfer.copyfileobj
.