Hola:
Estoy intentando conectar a un FTP a través de Python 2.6 sobre
Windows XP. Ejecutando:
from ftplib import FTP
ftp = FTP('asaaf.fis.ucm.es')
Obtengo:
Traceback (most recent call last):
File "C:/Documents and Settings/user/Escritorio/Python/centinel.py",
line 15, in <module>
ftp = FTP(host)
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)
error: [Errno 10054] Se ha forzado la interrupción de una conexión
existente por el host remoto
FileZilla puede conectarse perfectamente, así que el servidor está
bien. ¿Qué está pasando?
Muchas gracias.
_______________________________________________
Python-es mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/