ocean wrote: > After I did this change, most errors were gone. > > Index: Lib/urllib.py > =================================================================== > --- Lib/urllib.py (revision 55584) > +++ Lib/urllib.py (working copy) > @@ -833,7 +833,7 @@ > self.busy = 0 > self.ftp = ftplib.FTP() > self.ftp.connect(self.host, self.port, self.timeout) > - self.ftp.login(self.user, self.passwd) > +# self.ftp.login(self.user, self.passwd) > for dir in self.dirs: > self.ftp.cwd(dir) > > I don't know, but probably 'login' on Win2000 is problamatic. But you can *not* do this, you're trimming functionality from this class. The test that I left commented out in test_urllib.py just tries to simulate the first two FTP server answers, one saying "hello", and the other asking for the user. This is just to test ftpwrapper in its more basic first steps. The simulation goes ok in linux, but not in windows. But the problem is clearly in the tests, even if I can not find it, not in the urllib module. Regards, -- . Facundo . Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4