ftplib limitations?

Stefan Schwarzer sschwarzer at sschwarzer.net
Sat Aug 28 10:42:53 CEST 2010


Hi Lawrence,

On 2010-08-28 01:49, Lawrence D'Oliveiro wrote:
>> Now it may be that the data connection, after having started
>> the transfer, works as it should, but the control connection
>> times out because the duration of the transfer is too long.
> 
> It might not be the fault of the FTP server. If you’re going through a 
> router doing NAT, that could be where the timeout is happening.

Good point, thanks! That may explain why it's a low-level
socket error instead of a 4xx timeout message from the
server which I would have expected.

If it's the router, the OP might try to change their router
settings to get rid of the problem.

Stefan



More information about the Python-list mailing list