[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
Dāvis added the comment: The problem is that most of time you have no control over that FTP server but you still want to download files from that FTP server using Python. Currently that's just not possible. Maybe there could be some flag to enable workarounds for these cases. --

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Please no. The mistake should be fixed in the misconfigured FTP server, not in ftplib, which should not make this event pass unnoticed or take arbitrary decisions. Filezilla is different than ftplib in that it's an end-user app. ftplib is not (e.g. it

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
Change by Dāvis : -- keywords: +patch pull_requests: +12662 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36570] ftplib timeouts for misconfigured server

2019-04-09 Thread Dāvis
New submission from Dāvis : It's not uncommon to encounter FTP servers which are misconfigured and return unroutable host IP (eg. internal IP) when using passive mode See: https://superuser.com/a/1195591 Most FTP clients such as FileZilla and WinSCP use a workaround when they encounter such