Help

Submission Guide

We use FTP (File Transfer Protocol) to submit all the assignments and exercises if they need to be submitted.

General Information

Recommended FTP Software

We recommend using FileZilla for our FTP file transfer needs. If you already have a FTP software and familiar with how to use that software to access to a FTP site, you can skip the software download section and go directly to the next section.

Download the FileZilla client from the address
http://downloads.sourceforge.net/filezilla/FileZilla_3.0.0_win32-setup.exe
and install it.

Use FTP software to connect to the CS FTP site

Use FileZilla or your choice of FTP software to connect to CS FTP site by entering "ftp.cs.pitt.edu" in the "Host" field of the FTP software and click on the "Quickconnect" (or "Connect" depending on the software you're using) button. Take FileZilla as example,

After, successfully connected to the FTP site, it will show the "Connected" message. Look at the directory list on the right section, it shows the directory structure of the remote site:

Type in "/incoming/CS134/" in the "Remote site:" field and press "Enter"

This is the submission directory for our course CS134. You can see there are sub-directories under this "CS134" directory such as "Exercise1", "Assignment2" etc. As an example, if you're to submit Assignment 2, then find the file you want to submit from the local directory list on the left

, and drag the file onto the "Assignment2" directory and release. For other assignments or exercises, drag the submission files onto the corresponding directory. This action will cause the FTP software to transfer the file from your local directory to the remote submission directory. After the FTP transfer is completed, click on the "Assignment2" directory, and you should see the file you just submitted there. If you have any problem with submission, please email me or stop by my office.

<back to top>

Publishing Web Pages On Pitt Web Site

You University of Pittsburgh account gives you access to a space of about 5MB from its AFS file servers, where you can host your web pages.

In order to access your space via FTP, type in following information in the corresponding text fields in a FTP client, for example FileZilla:

Then click on "Quickconnect" (or something else depending on the FTP software you're using) button to connect to the Pitt FTP server. By default, it will take you to your home folder (the name of this home folder is equal to your Pitt account username) after successfully connected.

If you go inside the "public" folder under your home folder, usually you can see a "html" folder. This "html" folder is the root folder for your web pages, i.e. all the web pages you want public to see should be placed in this folder. If you don't have this "html", you can easily create it in FileZilla or in other FTP software by right clicking the "public" folder, and choose "Create directory" (or something else depending on the FTP software you're using) from the pop-up menu.

Let's take an example. Assume your Pitt user name is "fma99", you want to publish a web page called "index.html", then what you can do is just upload the "index.html" file to "html" directory under "public", which is under the home directory "fma99", using the FTP software. Then type

http://www.pitt.edu/~fma99/index.html

in the address field of your browser, then you can see the "index.html" page you just uploaded. By default, when people type in "http://www.pitt.edu/~fma99", the web server will return the "index.html" page to your browser. Your home page on Pitt web site will be:

http://www.pitt.edu/<Your Pitt username>

<back to top>

Keyboard Shortcuts

Here are some useful keyboard shotcuts for you to use.

Task Windows Mac
Open Ctrl-O Command-O
Save Ctrl-S Command-S
Close Alt-F4 Command-W
Copy Ctrl-C Command-C
Paste Ctrl-V Command-V
Undo Ctrl-Z Command-Z
Find Ctrl-F Command-F
Select All Ctrl-A Command-A
Increase Tab Indent Tab Tab
Decrease Tab Indent Shift-Tab Shift-Tab
Beginning of Line Home Command-left arrow
End of Line End Command-right arrow
Beginning of Document Ctrl-Home Command-up arrow
End of Document Ctrl-End Command-down arrow
Switch between Open Applications Alt-Tab Command-Tab
Show Desktop Windows logo key-D Command-D
Rename Selected File F2 Return
Refresh F5 Command-R

 

<back to top>

Validating HTML & CSS

To validate HTML, go to the following address:

http://validator.w3.org/

and click "Validate by Direct Input" tab, and paste your HTML code in the text area. Click on "Check" to start validation process.

To validate CSS, go to the following address:

http://jigsaw.w3.org/css-validator/

and click "By direct input" tab, and paste your CSS code in the text area. Click on "Check" to start validation process.

 

<back to top>