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("ft p.cwi.nl")
....
...
this is the error i get..:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "H:\ActivePytho n\lib\ftplib.py ", line 107, in __init__
self.connect(ho st)
File "H:\ActivePytho n\lib\ftplib.py ", line 117, in connect
for res in socket.getaddri nfo(self.host, self.port, 0, socket.SOCK_STR EAM):
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...
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("ft p.cwi.nl")
....
...
this is the error i get..:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "H:\ActivePytho n\lib\ftplib.py ", line 107, in __init__
self.connect(ho st)
File "H:\ActivePytho n\lib\ftplib.py ", line 117, in connect
for res in socket.getaddri nfo(self.host, self.port, 0, socket.SOCK_STR EAM):
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...
Comment