Downloading, Installing, and Running WinSCP
Downloading
Visit the CMPSCI 120 course webpage. Scroll down to "Webpage Construction Resources." Find "WinSCP" under
"FTP/SFTP Clients," and right-click on the "download for Windows" link. Choose "Save Link As" or "Save Target As" or
whatever sounds the most similar.
Screenshot:
Save the file somewhere that you will remember. For example, the Desktop. Click "Save."
Screenshot:
Installing
Look on the Desktop (or wherever you saved the file) for an icon that looks like the one below,
called "winscp382setup" or "winscp382setup.exe." Double-click it to run the program.
Screenshot:
When you see the Welcome screen, click "Next."
Screenshot:
When you see the license agreement screen, click "Next."
Screenshot:
When you see the "Select Directory" screen, click "Next." (The default directory is fine, but you can change it if you
want.)
Screenshot:
When you see the "Select Components" screen, click "Next." (The defaults are fine.)
Screenshot:
When you see the "Select Start Menu Folder" screen, click "Next." (The default folder is fine.)
Screenshot:
When you see the "Select Additional Tasks" screen, click "Next." You can change the options if you want,
but the defaults are fine.
Screenshot:
When you see the "Initial user settings" screen, click "Next." (The Norton Commander interface
is the interface we discussed in class, with one panel on the left representing your local computer,
and one on the right representing the remote (OITUNIX) server.
Screenshot:
When you see the "Ready to install" screen, click "Install." WinSCP will install.
Screenshot:
When the program is finished installing, click "Finish." Un-check the checkbox if you don't want to
run WinSCP immediately. (It will be in the Start Menu.)
Screenshot:
Running
Now that WinSCP is installed, we can run it. Choose WinSCP in the Start Menu (it may be inside a menu), if you
haven't started the program yet.
The first thing you will do is specify the hostname and username. The username is your regular
OITUNIX username (same as for SSH). Make sure "SFTP (allow SCP fallback)" is selected. Do not type in
your password right now. Click "Save."
Screenshot:
You can keep the default name for the session. This will let you quickly login in the future. Click "OK."
Screenshot:
When you see the screen below, select the OITUNIX session and click "Login." (Or just double-click the session.)
Screenshot:
If you see a warning screen, just click "Yes." You won't see it again.
Screenshot:
When prompted, type in your password.
Screenshot:
When you see a screen like the one below, you're connected!
To upload files, find the files you want to upload using the left panel. Use the pull-down
menu (top-left corner, circled) to find the place where you stored your files -- the desktop, or "My Documents,"
wherever you put the files. Use the big window below to go into subdirectories until your files are listed
in that big window. (For example, "jumping-dog.jpg" is the file I'm going to upload.)
Meanwhile, in the right window, double-click on your public_html folder to enter it on the remote computer.
Screenshot:
You should see the contents of your webpages folder in the right window. The left window
should show the files you want to upload (probably image files).
To transfer the files, you can do one of two things:
- You can drag-and-drop the file from the left panel to the right panel. Just drop it onto a blank area of the right
panel.
- OR, select the file you want to upload on the left panel. It will be surrounded by a thin, dotted, black border.
Then
press F5 (this is the hotkey for "Copy," listed at the bottom of the screen).
Double-clicking a file in the left panel will not transfer the file. It will just display it on your local computer.
Screenshot:
Click "Copy" when asked. It it not necessary to edit what appears in the "remote directory" box (the /u/uhome/
thing). Just click "Copy."
Screenshot:
The right panel of the screen will update, and you should see your uploaded file on both sides of the screen now.
Screenshot: