8 months ago
Hello,
surely there must be a way through SSH, SCP, SFTP or browser to up and download files to/from the container or volume that I haven't found yet.
Easiest for me would be if the CLI SSH command would tell me what host/port its using so I can just connect to it myself.
This is pretty important for me to be able to update a SQLite database or images that are stored on the volume which the app that's running in the container uses/serves.
Please advise.
4 Replies
8 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
8 months ago
I have the same problem, having Hobby Plan I don't have the possibility to make backups and/or download files from the volume.
I'm trying from railway ssh on linux, but it always returns corrupted file for my sqlite database mountend in /data
8 months ago
Just a note that our implementation of SSH is not the SSH protocol, so sFTP or SCP would not be supported even if we displayed the host and port used.
You would need to SSH in and use curl or wget to download an update to the sqlite file from somewhere that you have previously hosted it, or similarly upload the sqlite file to a hosting site so that you can then access it outside of Railway.
I'll leave this open for further involvement from the community so that they can help you with exact implementation.
brody
Just a note that our implementation of SSH is not the SSH protocol, so sFTP or SCP would not be supported even if we displayed the host and port used.You would need to SSH in and use curl or wget to download an update to the sqlite file from somewhere that you have previously hosted it, or similarly upload the sqlite file to a hosting site so that you can then access it outside of Railway.I'll leave this open for further involvement from the community so that they can help you with exact implementation.
8 months ago
I appreciate the clarification, but I have to say this limitation is quite disappointing, and that's an understatement.
The workaround of using curl/wget to upload files to external hosting just to download them into Railway feels unnecessarily cumbersome for what should be a basic development workflow.
What's particularly puzzling is the inconsistency here - Railway provides excellent database tooling with both a full web-based editor for PostgreSQL AND the option for external database access with any tool I choose. Yet for file management, there's essentially no direct solution. File transfer capabilities are fundamental for many use cases: updating SQLite databases, managing static assets or simply deploying configuration files. The current approach forces unnecessary complexity and external dependencies into what should be straightforward operations.
Is this limitation something Railway is actively working to address?
Given that you already have the infrastructure for secure connections and file system access (evidenced by the SSH implementation), it seems like supporting proper file transfer protocols or even a simple web-based file manager would be a natural next step.
Many developers would consider this table-stakes functionality, so I'd love to understand if there are any plans to improve this workflow.


