Download file directly to a remote machine
6,060
if it has ssh, you can always ssh the remote machine, and execute the following command to download a file directly to that machine
wget <link_of_file_to_download>
for example, to download a tux picture whose link i know into a server of mine, i would do the following commands
ssh user@myserver
wget http://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/170px-Tux.svg.png
Related videos on Youtube
Author by
Borivoje Petrovic
Updated on September 18, 2022Comments
-
Borivoje Petrovic almost 2 years
Is there any possibility to download a file to some remote machine which has ftp, ssh, nfs access. What I mean is that it doesn't have to go through the machine from which the download is issued.
-
Jim Salter over 11 yearsThis question does not make sense as-is. Where is the file that you want to download? How would you normally download that file?
-
Borivoje Petrovic over 11 yearsSorry, I kinda found the answer, but I don't know how to automate it. THe file is on the web, e.g., I saw that one could ssh into remote machine and then wget it. Of course, automate it from the browser.
-
-
Borivoje Petrovic over 11 yearsTrue, Sam, that is exactly the procedure. It would be great if that could be done ONLY from firefox!
-
Sam over 11 yearsby doing that, even if the file is not saved on computer A, the file still goes through computers A and B and if i understand correctly, the op wants to download it directly to computer B without passing through A
-
Sam over 11 yearsthere might be a plugin for firefox, tho i havent searched for one