Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 407  / 12 Months ago, wed, may 31, 2023, 1:21:57

How can I download a file or directory that is on a remove server? (note: there is no ftp setup on the server, is it possible to do this w/o having to install anything on the server?)


More From » downloads

 Answers
1

The scp answer is a good one and should work just fine if it is a small amount of files that you need transfered but if it fails or you have to stop the transfer you can use rsync. The command would look like this rsync -rP -e ssh username@serveraddress:"directory/file" /destinationfolder/ the r is for recursive downloads if you need a folder, the capital P is so that you can resume what had failed or been stopped prematirely and the e ssh tells rsync to comunicate over ssh. Hope that this helps.


[#42243] Thursday, June 1, 2023, 12 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
truwom

Total Points: 101
Total Questions: 99
Total Answers: 100

Location: Ivory Coast
Member since Tue, Sep 15, 2020
4 Years ago
;