[ python-Bugs-738973 ] urllib2 CacheFTPHandler doesn't work on
multiple dirs
SourceForge.net
noreply at sourceforge.net
Mon May 10 03:39:08 EDT 2004
Bugs item #738973, was opened at 2003-05-17 08:18
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=738973&group_id=5470
Category: Python Library
Group: Python 2.2.2
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Shahms E. King (shahms)
Assigned to: Mark Hammond (mhammond)
Summary: urllib2 CacheFTPHandler doesn't work on multiple dirs
Initial Comment:
using the CacheFTPHandler for ftp requests in urllib2
works as expected for files in the same directory as
the original file, however, as ftpwrapper() changes the
directory only after the initial connection, any
urllib2.urlopen('ftp://...') that is in a different
directory that the initial urlopen() call will fail
with a "450: File Not Found"
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2004-05-10 17:39
Message:
Logged In: YES
user_id=14198
Fixed on 2.3 branch:
Checking in urllib2.py;
new revision: 1.53.6.6; previous revision: 1.53.6.5
Fixed on trunk:
new revision: 1.66; previous revision: 1.65
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2004-05-05 22:24
Message:
Logged In: YES
user_id=14198
I reviewed and tested the patch, and it looks good to me.
I'll take this on (for trunk and 2.3.4) unless someone objects.
----------------------------------------------------------------------
Comment By: John J Lee (jjlee)
Date: 2003-12-01 09:12
Message:
Logged In: YES
user_id=261020
I've submitted a fix for this as patch 851736.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=738973&group_id=5470
More information about the Python-bugs-list
mailing list