Donwload file from within a server
0
0
Entering edit mode
4.5 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!

software error • 763 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2859 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6