Linux and Windows file transmission implementation, linux file transmission

Source: Internet
Author: User
Tags pscp

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 \

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.