Linux and Windows file transfer implementations
I. Overview
When we are learning Linux servers, we sometimes need to interact with the files under Windows, how do we do this? Today is my first time to write an article in the blog park, it is time to learn the Linux period, to summarize today just learned the file Transfer tool PSCP.EXE use method it.
Ii. acquiring and deploying tools
- Get PSCP.EXE
free in http://linux.linuxidc.com/version: Release 0.60
2. Deploying PSCP.EXE
Custom paths
copy pscp. EXE to e disk directory;
2). Enter cmdin the run, enter the E -Drive, and enter the following command:
e:\>pscp.exe aa.txt [email protected]:/home/
Recommended path
1). PSCP is recommended . EXE into the C:\WINDOWS\system32 , so that it can be called from anywhere.
3. & nbsp; pscp. EXE Common methods for
1" file to linxu server /tmp/
e:\pscp.exe file [email protected]:/tmp/
or e:\pscp.exe-l root file 192.168.1.147:/tmp/ (here -l root to Span lang= "en-us" >file )
2) dir , file file to linux server Span lang= "en-us" >/tmp/ and specify the server port 2009
e:\pscp.exe-p 2009-r dir file [email protected]:/tmp/
3) /tmp/file file on the server to retrieve the local current directory
e:\pscp.exe [email protected]:/tmp/file
4) /tmp/dir directory on the server to retrieve the local ,
e:\pscp.exe-r [email protected] :/tmp/dir d:\data\
Linux and Windows file transfer implementations