wenn ich eine einfache FTP-Verbindung aufbauen möchte, bekomme ich immer eine Fehlermeldung mit der ich nicht viel anfangen kann.
Die FTP-Verbindung:
Code: Alles auswählen
import ftplib
conn = ftplib.FTP('ftp.suse.com')
liste = conn.retrlines()
print liste
conn.quit()
Code: Alles auswählen
Traceback (most recent call last):
File "D:\Arbeit\Programme\FTP-Verbindung\ftp_test.py", line 3, in ?
conn = ftplib.FTP('ftp.suse.com')
File "C:\Python23\lib\ftplib.py", line 107, in __init__
self.connect(host)
File "C:\Python23\lib\ftplib.py", line 117, in connect
for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM):
gaierror: (7, 'getaddrinfo failed')
Danke
Stephan