[Python-bugs-list] [ python-Bugs-738973 ] urllib2 CacheFTPHandler doesn't work on multiple dirs

SourceForge.net noreply@sourceforge.net
Wed, 21 May 2003 14:10:44 -0700


Bugs item #738973, was opened at 2003-05-16 22:18
Message generated for change (Settings changed) made by jhylton
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: Open
Resolution: None
Priority: 5
Submitted By: Shahms E. King (shahms)
>Assigned to: Jeremy Hylton (jhylton)
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"

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

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