New submission from Jonathan <[EMAIL PROTECTED]>: About a year ago I found myself fighting a broken FTP server that couldn't handle multiple passive data transfers through a firewall or NATed connection. Thankfully, this same problem server supports block transmission mode, which allows a client to create a single data connection for transferring multiple files.
I've attached a patch (and sample debug output) for the latest trunk. Might this be useful to anyone else in any way? I realize any MODE option rather than S is widely unsupported and possibly an edge case, but getting this into trunk would be preferable. We've been running this code under Python2.3 for nearly a year -- the jobs run several times per hour -- and are extremely happy with the results. ---------- components: Library (Lib) files: ftplib.py.blockmode.patch keywords: patch messages: 65454 nosy: jbell severity: normal status: open title: ftplib Persistent data connection type: feature request versions: Python 2.6 Added file: http://bugs.python.org/file10025/ftplib.py.blockmode.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2628> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com