Use FTP software filezilla to transfer files between Windows and Linux systems

1. Download and install FTP software filezilla

Link: Filezilla Baidu Cloud Resources
Extraction Code: 2677

Double-click to open the downloaded FTP software filezilla
Insert picture description here

Click "I agree"

Insert picture description here

Keep the default selection and click "next"

Insert picture description here

Keep the default selection and click "next"

Insert picture description here

Custom installation path, click "next"

Insert picture description here

Keep the default selection and click "install"

Insert picture description here

Click "finish" to indicate that the installation is complete.

2. Set the network connection method

note:

Please close the virtual machine first and close the VMware Workstation software. Then, reopen the VMware Workstation software, and select "Virtual Machine> Settings> Network Adapter"
Insert picture description here
in the options menu above VMware Workstation. In order to allow the virtual machine to access the host and the host to also access the virtual machine, it needs to be in the "connection method" Select "Bridge Mode", then check "Assign physical network connection status", click "OK", and then boot into the Ubuntu system to allow the host to access the virtual machine.

Three, get the virtual machine IP address

In order to allow FTP software to connect to the Linux virtual machine (Ubuntu system), you need to obtain the IP address of the Linux virtual machine.

Open the virtual machine software VirtualBox, log in to the Ubuntu system, and then open a terminal (you can use the shortcut key Ctrl+Alt+T), enter the Shell command prompt state, and enter the command "ifconfig":

Insert picture description here

The "inet address: 192.168.138.128" here means that the IP address of the Linux virtual machine is 192.168.138.128. Every time you restart the virtual machine, or start the virtual machine in a different place, the IP address may change, so every time you log in to the Ubuntu system, you need to query the IP address again in this way.

Fourth, use FTP software FileZilla to connect to the Linux virtual machine

After obtaining the IP address information of the Linux virtual machine, you can use the FTP software FileZilla to connect to the Linux virtual machine. Please open FileZilla, the interface after startup is as shown in the figure below:

Insert picture description here
Click the "File" option in the upper left corner of the interface, and select "Site Manager" in the pop-up menu. An interface as shown in the figure below will appear for setting FTP connection parameters:
Insert picture description here

Click the "New Site" button in the lower left corner of the interface, and then start to set various connection parameters.

The parameters I set are as follows:

Insert picture description here

Host: Set to the IP address 192.168.138.128 of the Linux virtual machine just found out;
Port: You can leave it blank and use the default port;
Protocol: Select "SFTP-SSH File Transfer Protocol";
Login Type: Select "Normal";
User: You can use the user name created when you installed the Ubuntu system before;
Password: You can use the user password created when you installed the Ubuntu system before;
after the setting is complete, click the "Connect" button at the bottom of the interface to start connecting to the Linux virtual machine. After the connection is successful, the interface as shown in the figure below will be displayed:
Insert picture description here

You can use the FTP software FileZilla to transfer files to the Ubuntu system.

As can be seen from the above figure, the interface after FileZilla is successfully connected includes 2 main areas. Among them, the "local site" area on the left will display the directories in the Windows system. After clicking a directory, the file information in the directory will be displayed below.

The "remote site" area on the right is a directory in the Linux virtual machine. You can select a directory as the location where the file will be stored after uploading.

When you need to upload a file in Windows to the Linux virtual machine, first select the directory where the uploaded file will be stored in the "remote site", and then select the file to be uploaded in the "local site", and Click the right mouse button on the file name and select "Upload" in the pop-up menu to easily complete the file upload operation.

Insert picture description here

If you want to download a file in the Linux virtual machine to the Windows system, you can first select the directory where the downloaded file will be stored in the "local site", and then find the file to be downloaded in the "remote site" , Click the right mouse button on the file name and select "download" in the pop-up menu to complete the file download.

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_45154565/article/details/109211792