Using the Windows FTP program

Submission from Home

Here is a sample of how you might submit your program from home using
the FTP program that comes with the Windows operating system.  Please
note that a program such as WS_FTP is much easier to use, but if you
only have the FTP program that came with Windows, keep reading.

Click on the Windows Start button and select Run, and type
"ftp cdfpc.utoronto.ca" into the box, and then click on OK.

I am using s108hunt as the account name, but you should substitute
this for your own account name.  Your password will be the same as
the password you use to get onto your CDF-PC account (it is
initially your student number).

I am providing a complete script showing you which commands you would
give at the "ftp>" prompt.  This script shows how I have submitted a
file called Assignment0.java to the A0 submission folder.  On your
system the line that says:
   put C:\java\Assignment0\Assignment0.java
might be different.  You must give the location of where you have
stored your Assignment0.java file on your harddrive at home.  The
directory is what you typed into the "Location:" box in CodeWarrior
when you were first setting up your project.

You'll need to use a separate "put" command for each Java file that you
want to submit.  Please note that the command "dir" simply shows you
all of the files in the current directory, and the command "cd" is used
to change directories (or folders).  Whenever you want to know which
files are in the currently directory, type "dir".

. . . . .

Connected to cdfpc.toronto.edu.
220 sam FTP server (Version wu-2.6.0(2) Wed Oct 20 14:51:23 EDT 1999)
ready.
User (cdfpc.toronto.edu:(none)): s108hunt
331 Password required for s108hunt.
Password:
230 User s108hunt logged in.  Access restrictions apply.
ftp> cd submit/csc108h/s108hunt
250 CWD command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 16
drwxr-s---   2 cs108hi      512 Jan 11 13:52 A0
drwxr-s---   2 cs108hi      512 Jan 10 15:25 A1
drwxr-s---   2 cs108hi      512 Jan 10 15:25 A2
drwxr-s---   2 cs108hi      512 Jan 10 15:25 A3
drwxr-s---   2 cs108hi      512 Jan 10 15:25 A4
drwxr-s---   2 cs108hi      512 Jan 10 15:25 AA
drwxr-s---   2 cs108hi      512 Jan 10 15:25 AB
drwxr-s---   2 cs108hi      512 Jan 10 15:25 AC
226 Transfer complete.
ftp: 402 bytes received in 0.06Seconds 6.70Kbytes/sec.
ftp> cd A0
250 CWD command successful.
ftp> put C:\java\Assignment0\Assignment0.java
200 PORT command successful.
150 Opening ASCII mode data connection for Assignment0.java.
226 Transfer complete.
ftp: 37 bytes sent in 0.00Seconds 37000.00Kbytes/sec.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 2
-rw-r-----   1 cs108hi       36 Jan 11 13:59 Assignment0.java
226 Transfer complete.
ftp: 64 bytes received in 0.00Seconds 64000.00Kbytes/sec.
ftp> quit