Article Directory
1. Method 1: Set up a shared clipboard
It seems to have been automatically implemented in the Ubuntu20 version
I am using the old version 18.4, which has better stability, but does not have this function. The easiest way is to install the enhancement tool , set the two-way sharing pasteboard of the virtual machine, and drag in two directions. After the setting is complete, you can copy and paste files to each other.
2. Method 2: Use FileZilla software
1. Open the FTP service under Ubuntu
Open the Ubuntu terminal window (Ctrl+t shortcut key), and execute the following command to install the FTP service:
sudo apt-get install vsftpd
Wait for the software to be installed automatically. After the installation is complete, use the following VI command to open /etc/vsftpd.conf. The command is as follows:
sudo vi /etc/vsftpd.conf
After opening the vsftpd.conf file, find the following two lines:
local_enable=YES
write_enable=YES
Make sure there is no "#" in front of the above two lines, if there is any, cancel it, as shown in the figure after completion:
save and exit after modifying vsftpd.conf, use the following command to restart the FTP service:
sudo /etc/init.d/vsftpd restart
2. View the ip address of Ubuntu
enter:
ifconfig
inet is the ip address you are looking for
If prompted:
Follow the prompts to install:
sudo apt install net-tools
The installation is successful and the terminal enters the command again: $ ifconfig, it is ok
2. Install FileZilla on Windows
We use FileZilla as the FTP client under Windows, which is a free FTP client software that can be downloaded from the official website of FileZilla. The download address is as follows: https://www.filezilla.cn/download Click the download button: Then run the client to
install
, After the installation is complete, this icon will appear on the desktop:
Open the FileZilla software, the interface is as shown in the figure:
Ubuntu serves as the FTP server, FileZilla serves as the FTP client, the client must be connected to the server, open the site manager, click: File -> Site Manager, as shown in the figure after opening:
The first connection may pop up a dialog box prompting whether to save the password, just click OK.
The next time you open the software, you need to reconnect, click here:
After the connection is successful, as shown in the figure:
If you want to copy files or folders under Windows to Ubuntu, you only need to select the files or folders to be copied in the Windows area on the left in the figure, and then drag them directly to the designated directory in Ubuntu on the right. Copying files or folders in Ubuntu to Windows is also a direct drag and drop.
Notice
If this icon appears on the desktop:
don't pop it, the pop-up will disconnect the network