Python Kivy ftplib Exception

My code looks like this

import ftplib
server = ftplib.FTP(url)

server = … raises this exception:

socket.gaierror: [Errno 4] non-recoverable failure in name resolution.

The server is reachable via chrome and firefox. What is wrong with my code? I use python 2.7.4 and kivy on android with kivy launcher


Source: windows

Leave a Reply