Forums

Enable Interactive Broker FTP

Hi I want to get data via FTP from Interactive Broker. You can view the instructions here: https://ibkr.info/article/2024 . But I can’t seem to connect it on pythonanywhere. Kindly help.

We need more details to help you. What is the code? What is the error you get?

I typed this in console:

sftp shortstock@ftp3.interactivebrokers.com

I got this as my output:

ssh: connect to host ftp3.interactivebrokers.com port 22: No route to host. Connection closed

I tried it on my own local Windows PC and its totally fine!

I get the same error when I try to run that command on my own local machine; perhaps the FTP server is only allowing incoming connections from certain locations?