Instructions for FTP

In ws_ftp the following fields must be filled in as follows:
Profile Name: unix.andrew.cmu.edu
or
Profile Name: sun4.andrew.cmu.edu
Host Name: unix.andrew.cmu.edu
or
Host Name: sun4.andrew.cmu.edu
Host Type: Automatic detect
or the respective platforms of unix or Sun Solaris
User ID: your andrew id
Password: your andrew password
Account: leave blank
Remote Host: /afs/andrew.cmu.edu/course/46/699/handin/your andrew id
Local PC: the path to your homework directory

And then click Ok.
The gui is pretty self explanatory for transferring files. You must have your files in view on the local system window and the remote system window will show that you are in your handin directory which should be empty. You will only be handing in .cpp and .h files. Therefore you will want to ftp in ascii tranfer mode not binary. This is very important as your files may be corrupted otherwise. There should be two radio buttons at the bottom of the screen to choose the transfer type.
After selecting your homework files simply push the corresponding arrow to transfer them.


Command Line FTP
Open a DOS shell and type the following
ftp unix.andrew.cmu.edu
ftp:>user id: aj29
ftp:>password: ********
ftp:>cd \afs\andrew.cmu.edu\course\46\699\handin\aj29
ftp:>lcd C:\WINNT\Profiles\student\desktop\myhomeworkdir\ //change local directory
ftp:>ascii //set the tranfer type
ftp:>put DowStock.cpp
ftp:>exit

Within Andrew
If you are developing your homeworks on the Sun Solaris in andrew you can simply cp your files to the handin directory.
Verifying Handin
You may verify your handin by ls in ftp or if you telnet to your andrew account and then cd to the handin directory. Once there you can more your files to make sure they came through fine.