hi all,
im trying to create an ftp connection to some ftp site
using the followin code..but i always get an error in this line :
import ftplib
ftp =ftplib.FTP("ftp.cwi.nl")
....
...
this is the error i get..:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "H:\ActivePython\lib\ftplib.py", line 107, in __init__
self.connect(host)
File "H:\ActivePython\lib\ftplib.py", line 117, in connect
for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):
socket.gaierror: (11001, 'getaddrinfo failed')
could some1 plz explain wht this means...why m i unable to ccnnect to it or any ftp site for that matter.
all these sites open thru the web browser though...
Also,
i am able to connect to the internal ftp server created in my netwrok..
with the same syntax, just the name of the my interenal ftp..
PLZZ HELP...