10060, 'Operation timed out'
Steve Holden
steve at holdenweb.com
Thu Jan 19 04:11:52 EST 2006
Sumit Acharya wrote:
> Hi Steve,
> this is the trace I have got:-
> Traceback (most recent call last):
> File "sumit1.py", line 39, in ?
> ftp.connect(host,port)
> File "C:\programs\packages\python24\lib\ftplib.py", line 129, in
> connect
> raise socket.error, msg
> socket.error: (10060, 'Operation timed out')
>
So the FTP server is refusing your connection, I suspect. There's no way
the client can control the time it takes to do that.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list
mailing list