Forums

connecting to an outside ftp server

I have a script that uses urllib3 to connect to an ftp site to read a file into a Pandas dataframe. I'm getting a connection error. (ConnectionRefusedError: [Errno 111] Connection refused). How can I connect to this file. I saw someone in another post that mentioned requests.get. I'm unsure how I'd make use of that.

You cannot use ftp from a free account (see http://help.pythonanywhere.com/pages/403ForbiddenError/). For documentation on the requests library, see http://docs.python-requests.org/en/master/