Unix FTP Document Submission Instructions

1. Log on to CEC (or other unix-based operating system). You will get a prompt like the following:


	user@motel6 s/u/user>

2. Type in the following at the prompt:


	ftp capita.wustl.edu

The following script will be returned, and appear on your screen:


	Connected to mesun4.wustl.edu.
	220 mesun4 FTP server (SunOS 4.1) ready.
	Name (capita.wustl.edu:user): 

3. Next, type in "anonymous" at the Name prompt. The server will then ask for your password like so:


	Name (capita.wustl.edu:user): anonymous
	331 Guest login ok, send ident as password.
	Password:

4. Type in your entire user name as your password. In this case, you would type "user@cec.wustl.edu". The following will then appear on your screen:


	230 Guest login ok, access restrictions apply.
	ftp> 

5. You are now at the top level of the CAPITA server hierarchy. You need to get to the DataMailIn box in order to submit your assignment. This is accomplished by typing in the following commands at the "ftp>" prompt:


	ftp> cd pub
	250 CWD command successful.
	ftp> cd DataMailIn
	250 CWD command successful.
	ftp> cd me567
	250 CWD command successful.
	ftp> cd enforcers
	250 CWD command successful.

6. You are now in the 'enforcers' section of the me567 DataMailIn folder. You are now read to submit your document. This is accomplished by typing the following at the "ftp>" prompt:


	ftp> send 

7. This will result in the following return:


	(local-file)

8. The server is asking you for the name of the file in your directory that you want to send. If the file is in the directory that you ran FTP from, then simply type in the name of the file. If it is in a lower directory, then you must include the directory path in which the file is located. In our case, we ran FTP from the top-level directory, so we must type in the path to our me567 directory like so:


 	(local-file) .www-docs/me567/testfile.html

9. The FTP server will now ask you what you want to call the file as it appears on the CAPITA server by returning the following:


	(remote-file) 

10. Now, type in the desired name for your file:


	(remote-file) testfilenew.html

11. Check to make sure that your file has been sent by typing in "ls" at the "ftp>" prompt.


	ftp> ls
	200 PORT command successful.
	150 ASCII data connection for /bin/ls (128.252.247.1,1421) (0 bytes).
	testfilenew.html
	someotherfile.html
	yetanotherfile.html
	andsoon.html
	226 ASCII Transfer complete.
	25 bytes received in 0.092 seconds (0.27 Kbytes/s)

12. You're done! Type "close" to leave the CAPITA server, and then "quit" to exit FTP. You should see the following:


	ftp> close
	221 Goodbye.
	ftp> quit
	user@motel6 s/u/user> 

13. Sit back and revel in the afterglow of a job well done.

Written by Alex Ogilvie amo2@cec.wustl.edu



Rudolf Husar - rhusar@mecf.wustl.edu
Maintenance: Alex Ogilvie - amo2@cec.wustl.edu