Putty Windows uploads files to Linux servers & downloads files from Linux servers to Windows

Source: Internet
Author: User
Tags pscp

Download putty software from Putty official website: Putty.exepscp.exepsftp.exe and other software can also be installed under the Windows installation package Putty-0.63-installer.exe


I downloaded the Putty-0.63-installer.exe installation package directly and then installed it directly

Uploading files from Windows to a Linux server using the PSCP method

Enter the Putty installation directory on the cmd command line

Enter PSCP carriage return


PSCP is similar to the Linux SCP commands we use in our normal operations.

Now I upload a file directly from Windows locally to a Linux server

D:\Program Files\putty>pscpd:\mygit\clover\clover-admin\target\clover-admin-dev.war [Email protected]:~/opt/ java/


Now I'm looking under Linux services:


Now I have seen the files just uploaded and moved the files to the WebApps directory under Tomcat

Download files from a Linux server to Windows using the PSCP method

D:\Program FILES\PUTTY>PSCP [Email Protected]:/home/spark/opt/java/tomcat6/webapps/clover-admin-dev.war D://


You can already see the file under Windows d://


Note: Use PSCP can only transfer files, unable to pass the directory, to pass the directory can be used PSFTP

Can open remote host, CD change remote directory, LCD change local directory, ls view remote file list, put upload file, get download file and other commands

To upload files from Windows to a Linux server using the Psftp method:

Of course, you can also use the Putty installation package with the Psftp.exe tool, the primary usage is the same as PSCP:

D:\Program files\putty>pscp-sftp [Email protected]:/home/spark/


If you double-click to run the Psftp.exe, you can open remote host, CD change remote directory, LCD change local directory, ls view remote file list, put upload file, get download file and other commands


We create a test directory under/home/spark/opt/and go to the directory


We entered the D:\Program files\putty\test directory for Windows because there is a file under this licence


Upload file:


On the Linux service view:


Download file:

The D:\Program files\putty\test directory for Windows already has a file that has just been downloaded.


Putty Windows uploads files to Linux servers & downloads files from Linux servers to Windows

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.