Back to Computer topics

Back to IFH home page


ftp-anonymous: Concepts at IFH

Ray Ballisti, Jan. 2001, last update: Nov. 2005

ftp anonymous is a tool which allows the exchange of files with other computers without having to know any password. This is useful when the files are too big for sending via e-mail.

To use ftp-anonymous: you need to have the "ftp" program available on your computer.

We encourage otherwise the use of sftp which encript the transferred data, see "man sftp" but this cannot be used for ftp-anonymous.
ftp is a standard program on UNIX machines.

Then use the command:
ftp ftp.ifh.ee.ethz.ch

ftp.ifh.ee.ethz.ch is an alias which points to the proper server.

When asked for "user_name" enter ftp or anonymous and then your e-mail address as password.
You will have to change directory as appropriate, for instance "cd incoming" (to put a file) or "cd pub" (to fetch a file).
 

There is a special directory (pub) where people from outside 
can ONLY fetch files that WE did put in.
Otherwise there is a directory (incoming) where people from 
outside can ONLY write their files (but not read [fetch] them anymore).

The directories mentioned above are:

d-wxrwx-wt   3 ftp      ifh          512 Jan 16 12:16 incoming/
drwxrwxr-x   8 ballisti ifh          512 Jan 16 12:23 pub/

As you see, you will have to be in the "ifh" group in order to
read or write files in those directories. (Use the command
'newgrp ifh'   if you are in another group: for instance
people of the "nano" group)

- If you want that somebody can FETCH something from us:

   - put your files in directory /home/ftp/pub 
   - check for the permission -rw-r--r-- with the command 'ls -l file_name'
   - if it is not as above set it with the command:
     chmod 644 file_name

- If you want that somebody can PUT something INTO our server:

   instruct him/her to put his/her files into the "incoming" directory
   from where you can then copy the files into your home directory.
   Please inform him/her than they will NOT be able to see any file
   in this directory (no read permission). This means that they will not
   be able to CHECK their files there! 
   Be aware that an automatic procedure will then delete files older 
   than 14 days: do not forget this!!


Back to Computer topics

Back to IFH home page