Using WinSCP

If you are publishing your files in a computer lab, then WinSCP is already installed and you can skip to Configure WinSCP.

WinSCP is a Windows application, so if you plan on doing your web publishing on MacOSx, you can refer to our (brief) instructions on using Fugu for file transfer. However, if you are unfamiliar with SFTP, this page will also be helpful to you as the principles are the same with both applications.

If WinSCP is not already installed, you can download it from http://www.columbia.edu/acis/software/winscp/

Follow the instructions on the Columbia Information Technology website to download the WinSCP installer. You will need to enter your Columbia uni and password.

Double-click on the file winscp374-install.exe to begin the installation. As you go through the installation, look out for the Initial user settings window (pictured below).

The default interface style is the Norton Commander Interface - Yes, you want this! It allows you to see your local folders as well as the folders in your account on the server (remote directory) at the same time. Click Next and finish the installation.



Configuring WinSCP


When you first open the program you will see the Login window.

Type in the host name, your username and your password.

Account Host Username Password
BC Student eclipse.barnard.edu Barnard username Barnard password
BC Faculty and Staff bc.barnard.edu Barnard username Barnard password
Columbia cunix.columbia.edu Columbia uni Columbia password

If you want to save this information so that you can quickly login again later, click Save. Your settings will be saved as a profile. If you choose to save your login information, then the next time you login, the name of this saved profile will be listed. You can click on it and choose Login and then type in your password. In the example below I named my profile "cunix.columbia.edu," you can give your profile any name you like.

If you don't want to save this information, just fill out the host, username, and password fields and select Login.

Once you've logged in you will see a file transfer window like the one below:

The left side of the window shows the files on your computer (the Local Directory), the right side shows the files on the server (the Remote Directory).

If you don't have this nice two panel window, it just means that you did not choose Norton Commander Interface when you were installing WinSCP or you have a different version. You can still transfer files, call the Help Desk if you get stuck.

On the Remote side of the window, look for the folder "public_html", this folder should be at the same level as your mail folder. If you can see the mail folder, but you don't see the "public_html" folder, then you will need to use SSH Secure Shell Client to log into the eclipse server via SSH and setup your account for web publishing. If you are on a lab computer, SSH Secure Shell Client is already installed and you can skip the installation step.

To publish your web page, double click to open public_html on the Remote half of the window. On the Local side, browse to the directory where your web page is saved. If you need to, use the move up a level command (folder with up arrow on it) to move to a higher level in your current drive.

In this example, I stored my web files in a folder called web on the C drive of my computer. Note that on the Remote side, I have opened the folder named "public_html", hich right now is empty.

On the Local side, I have moved to the C drive where I can see all the folders in the C drive. I saved my web page to a folder named web.

Open the folder that contains your web page. In other words, the Local side should show you the contents of your web directory, the files themselves, and any other subdirectories in your website. The Remote side should have the folder "public_html" open. Now click on the files in the Local side of the window and drag them over to the Remote side. This will copy the files onto the server.

Now the files in the Remote directory (on the server) should be the same as the files in your web folder. The picture below illustrates this symmetry.



Now that you're done, what's the web address?


If you were able to copy your web files over to the "public_html" folder, your website should be visible online. You can view your website using the address that corresponds to the server that you uploaded your files to.

Account Server URL
BC Students eclipse.barnard.edu http://eclipse.barnard.edu/~username
BC Faculty and Staff bc.barnard.edu http://bc.barnard.edu/~username
Columbia cunix.columbia.edu http://www.columbia.edu/~username