How to download files off of a Fly instance

I have a Fly instance running a Rust app which is using a SQLite database. And I wanted to copy that file off Fly to my local machine.

flyctl ssh -a <APP_NAME> sftp get <FILEPATH>

Extra


First published on 22nd August 2023

Tags: fly, cloud

⇤ Home