Pscp

From GSAF

Jump to: navigation, search

pscp is a companion program of PuTTY. It is a Windows implementation of scp. It's a command-line program only, so you will need to run it in an MS-DOS window.

Contents

[edit] Availability

This is a freely available tool in the web. See below for Download

[edit] Read Me

The basic format of a pscp command, (or any scp command for that matter) looks like this:

pscp myusername@remotehost:remotefilespec localfilespec
download from remotehost to your local machine:

upload to remotehost from your local machine
pscp localfilespec myusername@remotehost:remotefilespec
Type pscp with no arguments for a list of other parameters that can be supplied on the command line.

[edit] Documentation/Tutorial

Documentation

[edit] Download/Install

This program is available from this location

[edit] Additional Info/Links

The following steps can be taken to embed pscp commands into your standard Windows command prompt.

1. Find out where your Cygwin or pscp installation is on your hard drive and copy the path to its 
\bin subfolder (usually C:\Cygwin\bin).
2. Open the Control Panel, hit "System and Maintenance," then "System," then "Advanced System 
Settings" on the left.
3. Click the "Environment Variables" button at the bottom of the new window.
4. Scroll through the "System Variables" list at the bottom of this window until you find the line 
for "Path," then select it and hit "Edit."
5. Add a semi-colon to the end of the "Variable Value" line (if it's not there), then add the path to
Cygwin's bin directory OR the pscp.exe. 
6. Hit OK on this and any windows opened along the way.