[Python-bugs-list] [ python-Bugs-487193 ] ftplib violates rfc1123 section 4.1.2.6

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Dec 2001 08:43:39 -0800


Bugs item #487193, was opened at 2001-11-29 11:29
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487193&group_id=5470

Category: Python Library
Group: Python 2.1.1
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Suchandra Thapa (ssthapa)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: ftplib violates rfc1123 section 4.1.2.6

Initial Comment:
RFC 1123 specifies that ftp clients can not depend on
227 responses to pasv commands having the format given
in the rfc 959.  The ftplib assumes that the pasv
parameters are returned within parentheses.  In
particular ftplib breaks when downloading binaries from
an anonftpd servre. I've included a patch that uses the
re module to obtain the pasv parameters instead.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-04 08:43

Message:
Logged In: YES 
user_id=6380

This is already fixed in CVS for 2.2.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487193&group_id=5470