2 months ago
Is there a way to copy file(s) from one's development machine into a railway container using a command like "railway cp <local_file> <remote_path>" ?
ie. similar to docker cp, ie. https://docs.docker.com/reference/cli/docker/container/cp/
Or, is there some other way to do this ? It would be a huge help... especially as a means to transfer local files onto mounted volumes.
5 Replies
2 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!
2 months ago
There currently is not. You can host the file on a server and curl it in, however.
2 months ago
Another way of doing this is by implementing a kind of 'file browser' UI using something like the filebrowser template that Brody made here.
dalinkstone
Another way of doing this is by implementing a kind of 'file browser' UI using something like the filebrowser template that Brody made here.
2 months ago
Yes thank you - i did see this. But - this means you'd get the file into the file browser service's attached volume, and still have to deal with moving it to the intended service's volume.
2 months ago
There is an item on the roadmap that is planned with several comments requesting mounting and scp via railway cli. You've probably seen this already. If you haven't up-vote it please. https://station.railway.com/feedback/volume-browser-258cb02a
Status changed to Solved ray-chen • 2 months ago
