railway cp command

sdavid14
PROOP

a month 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.

Solved$20 Bounty

5 Replies

Railway
BOT

a month 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!


There currently is not. You can host the file on a server and curl it in, however.


a month 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.

sdavid14
PROOP

a month 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.


a month 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 โ€ข about 1 month ago


Loading...
railway cp command - Railway Help Station