Linux remote server file retrieval methods 1. ftp method a) get Format: get [remote-file] [local-file] transfers files from the remote host to the local host. to obtain e: \ rose \ 1.bmp on the server, ftp & gt; get/rose/1.bmp... linux remote server file retrieval methods 1.ftp a) get Format: get [remote-file] [local-file] transfers files from the remote host to the local host. to obtain e: \ rose \ 1.bmp on the server, ftp> get/rose/1.bmp 1.bmp (press enter) B) mget www.2cto.com format: mget [remote-files] receives a batch of files from the remote host to the local host. to obtain all files under e: \ rose \ on the server, ftp> cd/rose ftp> mget *. * (press enter) 2.scp or rcp method rcp or scp-P port root@218.6.132.5 :. /testfile # Copy the remote file to the local rcp or scp-P port-r testfile (local) root@218.6.132.5: home/rootlocal/testfile # copy the file to the remote 3. rsync-az-e "ssh-I $ KEY" $ RUSER @ $ RHOST: $ RPATH $ LPATH remote copy of the file to the local author lazy_p
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service