|
|
Subject:
File download on Linux
Category: Computers > Operating Systems Asked by: johngl-ga List Price: $5.00 |
Posted:
29 Jan 2004 15:45 PST
Expires: 28 Feb 2004 15:45 PST Question ID: 301611 |
I'm looking for the command line function that will fetch a file from another unix box from Linux. Thanks. |
|
Subject:
Re: File download on Linux
Answered By: weaver-ga on 29 Jan 2004 17:22 PST Rated: |
There are a multitude of ways to copy files from one Unix box to another. Since you didn't specify any particular parameters, I'll list the best ones to use and explain how to use them. My first choice would be secure copy (scp). Secure copy opens a secure shell tunnel to the remote machine and then copies the file. The login and file transfer is much more secure than using a plain text protocol like FTP. Here is a document that explains scp usage: http://www.siliconvalleyccie.com/linux-hn/ssh-server.htm#_Toc57734093 You can also get information on the syntax by typing 'man scp' on your Linux machine. An scp command will look something like this: 'scp user@remote.machine.dom:file/to/get localfilename' If you are not at all concerned about security or if one machine or the other does not have the secure shell software installed, you can use remote file copy (man rcp). The syntax is the same as scp, a document explaining how to use rcp can be found here: http://www.mkssoftware.com/docs/man1/rcp.1.asp An example command line for rcp would look like this: 'rcp user@remote.machine.dom:file/to/get localfilename' Some other possible utilities are 'ftp' if the remote server is running an ftp server. 'wget' if the remote file is available through a web server. Search strategy I found the scp and rcp instructions by searching through Google for the terms 'secure copy howto' and 'rcp file copy': ://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&q=secure+copy+howto ://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&q=rcp+file+copy&btnG=Google+Search I hope this gives you all the information you need. If you had something else in particular in mind, just ask for a clarification and I will be happy to respond. Good luck! Weaver | |
| |
|
johngl-ga
rated this answer:
Just perfect. Very clear and complete. |
|
Subject:
Re: File download on Linux
From: weaver-ga on 09 Feb 2004 07:17 PST |
I'm glad my answer helped you out! Thanks for the great rating! Weaver |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |