Computing Facilities
Electrical and Computer Engineering
Northwestern University

CFS Home | FAQs | Policies | PC Software | ECE Home | Search

Posting Files for Anonymous FTP

Public data may be made available to anyone on the Internet via Anonymous FTP. ECE's anonymous FTP server's hostname is ftp.ece.northwestern.edu. To share data using this server, simply make a subdirectory with your username in ~ftparea/pub and then copy your data thereunder. This must be done from the usual xterm command line. It can not be done while logged in via FTP, either anonymous or otherwise.

For example, to make the file myfile available to people on the internet, type the following:

mkdir ~ftparea/pub/MYUSERNAME

chmod 755 ~ftparea/pub/MYUSERNAME

cd ~ftparea/pub/MYUSERNAME

cp ~MYUSERNAME/myfile .

chmod 644 myfile

Immediately after typing these commands, your file becomes available to anyone on the Internet via anonymous FTP. To verify that you've done everything correctly, examine the following example in which we ftp to the server and retrieve our file via anonymous ftp. Bolded commands are typed by the user. The rest is printed by the server.

% ftp ftp.ece.northwestern.edu
Connected to rho.ece.northwestern.edu.
220-
220-This system is for the use of authorized users only.  Individuals using
220-this computer system without authority or in the excess of their authority
220-are subject to having all their activities on this system monitored and
220-recorded by system personnel.  In the course of monitoring individuals
220-improperly using this system or in the course of system maintenance, the
220-activities of authorized user may also be monitored.  Anyone using this
220-system expressly consents to such monitoring and is advised that if such
220-monitoring reveals possible evidence of illegal activity or violation of
220-University regulations system personnel may provide the evidence of such
220-monitoring to University authorities and/or law enforcement officials.
220-
220 rho FTP server (Version 4.159 Mon Oct 5 13:50:41 CDT 1998) ready.
Name (ftp.ece.northwestern.edu:pred): anonymous
331 Guest login ok, send your email address as password.
Password: pred@
230- Guest login ok, access restrictions apply.
230- Local time is: Thu Oct 23 16:44:51 2003
230 
ftp> cd pub/pred
250 CWD command successful.
ftp> get myfile
200 PORT command successful.
150 Opening ASCII mode data connection for myfile (22881 bytes).
226 Transfer complete.
local: myfile remote: myfile
23441 bytes received in 0.09 seconds (254.63 Kbytes/s)
ftp> bye
221 Goodbye.

myfile should now be in your current directory. If not, try carefully re-doing the steps to make your data available.

2145 Sheridan Road . Evanston / IL . 60208
Phone: 847-491-8140 . FAX: 847-491-4455
webmaster@ece.northwestern.edu

Copyright © 2003 Northwestern University § All rights reserved § Thu Oct 23 16:49:50 CDT 2003