Entering edit mode
5.0 years ago
JulianC
▴
30
Hi!
I have to download some raw reads in a ssh server. Since I have no large storage space, I have to download them in my external storage. Unfortunately, the "scp" command seem to work only if I run it from a terminal in my computer, but it doesn't work if I run it from the terminal inside the server (that is what I want to do since I want to run a script that download the reads from NCBI into the server and then from the server to my computer). Do you know how can I download the file by using the terminal inside the server? Thank you in advance!
I think you would call it uploading then instead of downloading. I guess (correct me I am wrong) it would be a similar command but this time "user" and "host" will be the user and host of you own computer executed from the server.
scp path/to/file/tomove user@host:path/to/file/topaste
In practice it is little more complicated, you own computer need to be accessable and you need to remove the file when it is done downloading at the server to save space.EDIT:
Think you could also mount your own pc or harddrive at the server
JulianC : What OS are you using on your local computer?
Just to be clear you want to this path:
NCBI --> Your server --> Local computer + external disk
Unless you need to do something with the data on the server why not do
NCBI --> Local computer + external disk