Re: Problems using ftplib: Can't build data connection: Connection refused.

Guido.van.Rossum@cwi.nl
Sat, 26 Feb 1994 08:13:40 +0100

> I get:
> *cmd* 'TYPE A'
> *resp* '200 Type set to A.'
> *cmd* 'PORT 198,5,208,1,129,138'
> *resp* '200 PORT command successful.'
> *cmd* 'LIST'
> *resp* "425 Can't build data connection: Connection refused."

I just found out about this myself. There's a call to listen(0)
somewhere that shuold be listen(1). Apparently the Solaris
implementation of sockets is more strict than traditional BSD.

Will be fixed in 1.0.2.

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
URL: <http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>