Transfer files remotely1. WinSCP softwareTransfer files2. SCP command2.1 Copy the file to the Raspberry Pi motherboard2.2 Copy files from the Raspberry Pi motherboard to the current computer
It mainly introduces the use of WinSCP software to transfer files and the scp command to transfer files. The former is recommended first!
Install the WinSCP software by yourself. Here we mainly introduce how to connect to the Raspberry Pi system based on IP, username and password information.
My current login user name is pi, the password is yahboom, and the IP address is 192.168.2.93
Connection success interface:
You can directly drag local files to the other party's area, so that the files can be copied; the following demonstration is to transfer the Text.txt file to the Raspberry Pi system.
xxxxxxxxxx
You can directly select a folder on your computer and move it to the other party's area. It does not necessarily need to be done within the software!
Use the scp command to send files to the Raspberry Pi system through ssh. This operation does not require the use of software, just use the terminal!
xxxxxxxxxx
My current login user name is pi, the password is yahboom, and the IP address is 192.168.2.93
Single file copy command: scp file name username@IP address:path
Copy the file to the user directory: scp Test.txt pi@192.168.2.93:
Single file copy command: scp username@IP address: file name
xxxxxxxxxx
Note: The copied file should be in the user directory of the Raspberry Pi system (the copied Test.txt file should be in the pi user directory of the Raspberry Pi)