Common methods for copy files between Linux and Windows __linux

Source: Internet
Author: User
Tags file copy ftp client scp command
common methods for copy files between Linux and Windows

reference URL: https://www.cnblogs.com/black-mamba/p/5918646.html


The first is FTP, which is one of the Linux installation FTP Server, another use of FTP client program for file copy. (FileZilla)

The second approach is to use the Samba service, similar to the Windows file copy of the way to operate, more concise and convenient. The third way is to use the SCP command for file copying. The SCP is a security file copy, based on SSH login. Easy to operate, such as to the current one file copy to a remote other host, you can command:      scp/home/frank/full.tar.gz root@172.19.2.75:/home/ Root then prompts you to enter the login password for the other 172.19.2.75 host's root user, and then starts copy. 1. From local to remote      scp/path/local_file remote_username@remote_ip:remote_folder  // Copy Local_file to Remote_folder      scp/path/local_file remote_username@remote_ip:remote_file                //local_file copy to Remore_user home directory      SCP local_file re mote_ip:remote_folder       SCP local_file remote_ip:remote_file       SCP-R Local_folder remote_username@remote_ip:remote_folder       scp-r Local_folder Remote_ip:remote_ folder  If you want to reverse the operation, it is easy to copy files from the remote host to the current system.      SCP root@172.19.2.75:/home/root/full.tar.gz home/frank/full.tar.gz   &nbsp Several parameters that may be useful:    V are the same as-V in most Linux commands to show progress. Can be used to view connections, certifications, or configuration errors .    C enables compression options .    p selection ports. Note-P has been used by RCP using .    4 to forcibly use the IPV6 address using IPV4 address .   -6.   Note two: 1. If the remote server firewall has special restrictions, the SCP will have to go special port, specific port depending on the situation, the command format is as follows: #scp-P 4588 remote@www.abc.com:/usr/local/sin.sh/ Home/administrator 2. Use the SCP to note whether the user you are using has permission to read the appropriate files for the remote server.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.