[Python-bugs-list] [ python-Bugs-486247 ] ftplib/URLLib time outs on transfers

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Dec 2001 08:48:01 -0800


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

Category: Extension Modules
Group: Python 2.1.1
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Tom Fillmore (tfillmor)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: ftplib/URLLib time outs on transfers

Initial Comment:
Hi - 

On upgrading to v2.1.1 my ftp apps stopped working, all
with time out errors when transferring files of any
length.  I did set the set_pasv method to false, to
emulate the v2.0 behavior, which worked OK, but still
got the same time out errors.  I also tested them with
v2.2b but got the same errors.

Bottom line - with versions above v2.0 the urllib and
ftp;ib extensions time out on transfers.  Simply
re-installing v2.0 fixed the problem.

It is always possible that I was not setting the method
correctly, so here's what I did to the set_pasv method:
     
     sessionname.set_pasv("false")

My specs are:
Win2000 server
python v2.01
Nothing.  There is no third thing... 8-)

Thanks in advance!

Tom Fillmore
tfillmor@oc-bahai.org




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

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

Message:
Logged In: YES 
user_id=6380

set_pasv("false") is the same as set_pasv("true"), i.e. any
string argument of nonzero length is considered true.

Try set_pasv(0) to disable the default of passive mode.

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

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