[issue7167] Smarter FTP passive mode

2017-10-06 Thread Albert-Jan Nijburg
Albert-Jan Nijburg added the comment: I understand the standpoint that the server is configured incorrectly, and I see why this might not be the best solution to the problem. But not everyone owns the ftp server they're connecting to. And the `EPSV` command often doesn't include the ipaddres

[issue7167] Smarter FTP passive mode

2010-10-27 Thread Georg Brandl
Georg Brandl added the comment: Closing following Giampaolo's suggestion. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python tracker ___ __

[issue7167] Smarter FTP passive mode

2009-10-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If the server is behind a NAT it should be up to the administrator to > properly configure it so that the internal address gets replaced in > PASV/EPSV replies. > Any FTP server provides this possibility. > IMHO, this is not in the realm of problems which shou

[issue7167] Smarter FTP passive mode

2009-10-19 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: If the server is behind a NAT it should be up to the administrator to properly configure it so that the internal address gets replaced in PASV/EPSV replies. Any FTP server provides this possibility. IMHO, this is not in the realm of problems which should be d

[issue7167] Smarter FTP passive mode

2009-10-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: At least we could add an optional argument to set_pasv() so as to ignore the host provided by the server. Here is a patch proposal. -- keywords: +patch Added file: http://bugs.python.org/file15162/ftplib.patch ___ Py

[issue7167] Smarter FTP passive mode

2009-10-18 Thread Antoine Pitrou
New submission from Antoine Pitrou : I have come accross an FTP server which lftp (an Unix command-line client) handles well but ftplib doesn't. Both ftplib and lftp are configured to use passive mode (this server apparently doesn't handle non-passive), but the address sent in response by the ser