HOWTO
Securely Copy a Program using PSCP
Download PSCP
1. Go to the PuTTY web page and click on the "Download" link at the top of the page.
2. Scroll down to the Windows section and download pscp.exe. Save it to your desktop.
1. Open a Command
Prompt. (The program is found in the "Accessories"
file folder.)
2. Type "cd Desktop" to change directories into the Desktop, where pscp.exe is stored.
3. The syntax for using PSCP is:
pscp user@host1:file1 user@host2:file2
2. Type "cd Desktop" to change directories into the Desktop, where pscp.exe is stored.
3. The syntax for using PSCP is:
pscp user@host1:file1 user@host2:file2
In other words, if there is a file on your desktop (say, distance.c) that you wish to copy over to the Unix server, simply type:
C:\Documents
and Settings\Admin\Desktop> pscp distance.c
ece71[xx]@callisto.engr.csufresno.edu:.
where [xx] refers to your login number. You must also type in your password when prompted for it. In this case, you do not need to supply user@host1: since you are already logged into your Windows machine as yourself -- this is why only the filename, distance.c, is necessary. The . is used in place of file2 because it means that PSCP will set the filename file1 (distance.c in this case) equal to the filename file2, and will copy it automatically to your home directory on callisto. If you want to change the filename to something else while it is copying (say to "dist.c"), then type:
C:\Documents
and Settings\Admin\Desktop> pscp distance.c
ece71k[xx]@callisto.engr.csufresno.edu:dist.c
in which case the file on callisto
will now be called "dist.c".
You will know that you have successfully copied your file when you see
something similar to this on your screen:C:\Documents and
Settings\Admin\Desktop> pscp distance.c
ece71k00@callisto.engr.csufresno.edu:.
ece71k00@callisto.engr.csufresno.edu's password:
distance.c | 0 kB | 0.7 kB/s | ETA: 00:00:00 | 100%
This provides information about the filename, the
amount of kB (kilobytes) that have been transfered, the transfer rate,
the estimated time that it will take to copy the file, and the
percentage that has already been copied. The copy will be complete when
percentage reaches 100% and the program returns control of the command
prompt back to you.ece71k00@callisto.engr.csufresno.edu's password:
distance.c | 0 kB | 0.7 kB/s | ETA: 00:00:00 | 100%


