How can I copy a file from a remote server to using Putty in Windows? [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this questionHow do开发者_如何学C I copy a file from a remote server to my local Windows system using a Putty session?
It worked using PSCP. Instructions:
- Download PSCP.EXE from Putty download page
- Open command prompt and type
set PATH=<path to the pscp.exe file>
- In command prompt point to the location of the pscp.exe using cd command
- Type
pscp
use the following command to copy file form remote server to the local system
pscp [options] [user@]host:source target
So to copy the file /etc/hosts
from the server example.com
as user fred
to the file
c:\temp\example-hosts.txt
, you would type:
pscp fred@example.com:/etc/hosts c:\temp\example-hosts.txt
One of the putty tools is pscp.exe; it will allow you to copy files from your remote host.
精彩评论