Linux and Windows file transmission implementation, linux file transmission
Linux and Windows File Transfer implementation
I. Overview
When learning about Linux servers, we sometimes need to interact with files in Windows. How do we implement this? Today is my first time to write an article in the blog Park. At this time, when I was studying Linux, I would like to summarize how to use the file transfer tool PSCP. EXE that I just learned today.
2. Obtain and deploy tools
Free onHttp://linux.linuxidc.com/version: Release 0.60
2. Deploy PSCP. EXE
Custom path
1) Copy PSCP. EXE to the directory of the E disk;
2) Enter cmd in the running directory, enter the e-disk, and enter the following command:
Root@192.168.1.126:/home/
Recommended path
1) Put PSCP. EXE under C: \ WINDOWS \ system32, so that it can be called anywhere.
3. Common Methods of PSCP. EXE
1) Transfer the local file to the/tmp/of the Linxu Server/
E: \ pscp.exe file root@192.168.1.147:/tmp/
Or E: \ pscp.exe-l root file 192.168.1.147:/tmp/(here-l root must be before file)
2) Transfer the local directory dir and file to/tmp/on the Linux server, and specify the server port 2009.
E: \ pscp.exe-P 2009-r dir file root@192.168.1.147:/tmp/
3) retrieve the/tmp/file on the server to the local directory.
Root@192.168.1.147:/tmp/file
4) Retrieve the/tmp/dir directory on the server to the local "D: \ data \". The local path cannot contain double quotation marks.
E: \ pscp.exe-r root@192.168.1.147:/tmp/dir D: \ data \