Forums

SFTP Host Name and Folder Path

I am running a python script daily to pull some data and do a few calculations then save it as a CSV. I want to have Totango pull that CSV daily thru SFTP. It requires a Host Name and a Folder Path. How do I set this up on the PythonAnywhere side? Thanks!

We don't provide an SFTP server, but I would be surprised if there wasn't an option to retrieve a URL instead of using SFTP. Then you could just publish the csv using the static files from a web app and retrieve it from there.

Oh ok, is there a way to save directly to Dropbox or my local drive then? That'd make it easier for me.

You may be able to use the Dropbox API to send the file to Dropbox, or you could use scp to download the file to your local machine. Come to think of it, Totango may support scp so you might be able to use that.