FTP Client Problem
Verfasst: Sonntag 7. November 2010, 22:05
Hallo ich möchte eine Reihe von FTP-Servern in meinem Netz prüfen.
Schwerpunkt ist die Prüfung auf anonymen Zugang und auf Schreibrechte. Neben bei Prüfe ich auf weitere Schlechte Passwörter
Das ist mein erstes Python Programm.
Mein Problem:
das Programm endet nach bearbeitung der 12 IP mit dem Fehler:
IP_addr_here
Traceback (most recent call last):
File "ftp_write_cheak_2", line 61, in <module>
FTP = ftplib.FTP(line,"NULL","NULL")
File "C:\Python26\lib\ftplib.py", line 116, in __init__
self.connect(host)
File "C:\Python26\lib\ftplib.py", line 134, in connect
self.welcome = self.getresp()
File "C:\Python26\lib\ftplib.py", line 209, in getresp
resp = self.getmultiline()
File "C:\Python26\lib\ftplib.py", line 195, in getmultiline
line = self.getline()
File "C:\Python26\lib\ftplib.py", line 182, in getline
line = self.file.readline()
File "C:\Python26\lib\socket.py", line 444, in readline
data = self._sock.recv(self._rbufsize)
socket.error: [Errno 10054] Eine vorhandene Verbindung wurde vom Remotehost gesc
hlossen
Ich nutze Python 2.7 und lese grade ein Tut.
http://www.python-forum.de/pastebin.php?mode=view&s=87
Schwerpunkt ist die Prüfung auf anonymen Zugang und auf Schreibrechte. Neben bei Prüfe ich auf weitere Schlechte Passwörter
Das ist mein erstes Python Programm.
Mein Problem:
das Programm endet nach bearbeitung der 12 IP mit dem Fehler:
IP_addr_here
Traceback (most recent call last):
File "ftp_write_cheak_2", line 61, in <module>
FTP = ftplib.FTP(line,"NULL","NULL")
File "C:\Python26\lib\ftplib.py", line 116, in __init__
self.connect(host)
File "C:\Python26\lib\ftplib.py", line 134, in connect
self.welcome = self.getresp()
File "C:\Python26\lib\ftplib.py", line 209, in getresp
resp = self.getmultiline()
File "C:\Python26\lib\ftplib.py", line 195, in getmultiline
line = self.getline()
File "C:\Python26\lib\ftplib.py", line 182, in getline
line = self.file.readline()
File "C:\Python26\lib\socket.py", line 444, in readline
data = self._sock.recv(self._rbufsize)
socket.error: [Errno 10054] Eine vorhandene Verbindung wurde vom Remotehost gesc
hlossen
Ich nutze Python 2.7 und lese grade ein Tut.
http://www.python-forum.de/pastebin.php?mode=view&s=87