10060, Operation timed out Error
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

10060, Operation timed out Error

From: Ajay Abhyankar <ajay@infogridpacific.com>
Date: Wed Oct 05 2005 - 15:11:55 CEST

Hi,
I am trying to upload zip files using ftplib module. The server has
Vsftpd 2.0.3 installed on it.
I was able to succesfully upload files using ftplib and Vsftpd on the
server locally connected.
Now, I want to transfer files to remote server using the same script.

I am getting the following error:
Traceback (most recent call last):
  File "<pyshell#32>", line 1, in -toplevel-
    ftp.retrlines('LIST')
  File "C:\Python23\lib\ftplib.py", line 396, in retrlines
    conn = self.transfercmd(cmd)
  File "C:\Python23\lib\ftplib.py", line 345, in transfercmd
    return self.ntransfercmd(cmd, rest)[0]
  File "C:\Python23\lib\ftplib.py", line 324, in ntransfercmd
    conn.connect(sa)
  File "<string>", line 1, in connect
error: (10060, 'Operation timed out')

If I transfer the files without using python script from the prompt, the
file is successfully transfered.
Please help me to understand whether the problem is with the script,
ftplib or Vsftpd.

Thanks in advance.
Ajay
Received on Sat Oct 15 04:10:27 2005