Several ways to transfer files between Windows and Linux

In the process of operating the Linux system, we often need to upload files from Windows or upload files to Windows, that is, to realize the mutual transfer of Windows and Linux files. The following are several ways I have learned in the process of studying and working :

1. Use xftp

The download link of xftp is as follows:

Link: https://pan.baidu.com/s/1U6cSfjrLas4Z-1jcqnfASA
Extraction code: 23i5

Steps for file transfer using xftp: After installing xftp, the xshell operation interface will display the xftp icon. After clicking the icon, you can transfer files to each other. The left side is the windows system, and the right is the linux system. To transfer to the linux system, you only need to select the file and drag it to the linux system area on the right. Similarly, the file transfer from the linux system to the Windows system is the same operation.
Insert picture description here

2. Install lrzsz on Linux

Installation command : yum install lrzsz

After installing lrzsz, you can use the rz (Receive Zmodem) command to upload files from Windows to the Linux server, and use the sz (Send Zmodem) command to transfer files from the Linux server to Windows. One or more files can be transferred at a time. Pay attention to the sz command Need to add the file name to be transferred afterwards.

The rz command
Insert picture description here
sz command
Insert picture description here
The following signs indicate that the transmission is successful
Insert picture description here

3. Use S3 service in aws

aws official website link: https://us-east-2.console.aws.amazon.com/console/home?region=us-east-2

This method is a method used by the company during my internship. It is inconvenient to introduce screenshots here. My favorite is the first method. The operation can be completed by simple rz and sz commands, which is very convenient !

Guess you like

Origin blog.csdn.net/can_chen/article/details/107027139