
09.12.2019, 19:40
|
|
Новичок
Регистрация: 08.12.2019
Сообщений: 0
С нами:
3385365
Репутация:
0
|
|
что делать если ошибка
Код:
Код:
Traceback (most recent call last):
File "C:\Users\wanted\Desktop\stiller\stiler2.py", line 6, in
con = FTP("http://192.168.100.10/","admin","admin")
File "C:\Users\wanted\AppData\Local\Programs\Python\Python35\lib\ftplib.py", line 118, in __init__
self.connect(host)
File "C:\Users\wanted\AppData\Local\Programs\Python\Python35\lib\ftplib.py", line 153, in connect
source_address=self.source_address)
File "C:\Users\wanted\AppData\Local\Programs\Python\Python35\lib\socket.py", line 689, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "C:\Users\wanted\AppData\Local\Programs\Python\Python35\lib\socket.py", line 728, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
|
|
|