Opened 12 months ago

Last modified 12 months ago

#121 new enhancement

auto reconnect and auto resume during upload/download files

Reported by: ftputiluser Owned by: schwa
Priority: major Milestone:
Component: Library Version:
Keywords: Cc:

Description

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

Change History (1)

comment:1 Changed 12 months ago by schwa

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 in FTPHost.open and use the remote and the local file object with ftputil.file_transfer.copyfileobj.

Last edited 12 months ago by schwa (previous) (diff)
Note: See TracTickets for help on using tickets.