Example of FTP sesion to nic.funet.fi

"Robert Harper Finland", CSC Rob.Harper at CSC.FI
Thu Sep 26 06:05:00 EST 1991

************************* CLIP  CLIP *********************
I don't know how to use FTP (NIC.FUNET.FI), please send me instructions
and examples.
* Edgar Estrada - Consejo de Investigacion - Universidad Nacional de Salta  *
* Buenos Aires 177 - (4400) - Salta (Capital) - Pcia. de Salta - Argentina  *
* Tel: (087) 251170     Telex : 65121 UNSAT AR        FAX: 054-87-250993    *

I often get requests asking for explainations of how to ftp into NIC
So here is an example session. You have to be on Internet with a 
TCP/IP connection before you can ftp to remote hosts. I put in 
some comments with lines beginning with #

******************* BEGINNING OF FTP SESSION *****************

# Give the following command from your machine and you will
# be connected to NIC. When asked for Name type in anonymous.

Convex /csc/harper 7> ftp nic.funet.fi
Connected to nic.funet.fi.
220 nic.funet.fi FTP server 
(Version 4.491 +mea at nic.funet.fi Tue Sep 17 19:27:0.)
Name (nic.funet.fi:harper): anonymous

# You are then asked for a password. YOU HAVE to give your 
# Internet address as a password. In your case it would be
# edgar at ciunsa.edu.ar You will not see the password as you type 
# it in, but get it right... failure to do so will put you
# in a "captive-login" and you cannot access the public 
# directories from there. This is done for security reasons
# We like to know who has been using NIC.

331 Guest login ok, give your email address for password.
230-Guest login ok, access restrictions apply.
230-There are 3 active foreign anonymous customer(s) presently out of max 16.
230-Local time is now Thu Sep 26 09:23:48 1991
230- There are constant overload problems on our line to USA...
230- Be careful with "cd ..".  See  /README for info about how
230- symlinks might affect your view of, and movement in archive.
230-We have special access features, see file /README
230 It was last updated Thu Sep 19 13:14:36 1991 - 6.8 days ago
Remote system type is UNIX.
Using binary mode to transfer files.

# You should note that NIC is set up so that it transfers files
# in BINARY mode. This is a safeguard for some people forget to
# set ftp to BINARY when trnasferring executables,  I have 
# not noticed that the transfer of ASCII files suffers in any 
# way if you receive them with the BINARY option on. NIC is rather
# special since it can transfer whole directories, or compress files
# to speed up transfer over he net... be sure to get the README file
# to understand more about these special access features.

# If you are interested in molecular biology then cd to 
# /pub/sci/molbio

ftp> cd /pub/sci/molbio
250 CWD command successful.

# A dir will show you the main directories.

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for .
-rwxrwxr-x  1 harper    ftp            357 Jan  8  1991 00INFO.NIC
-rwxrwxr-x  1 harper    ftp            403 Jun 19 08:11 IMPORTANT.README
drwxrwxr-x  2 harper    ftp            512 Sep 10 13:15 biobit
drwxrwxr-x  2 harper    ftp           1024 Sep  4 07:27 biodocs
drwxrwxr-x  9 harper    ftp            512 Sep 13 07:04 databases
drwxrwxr-x  2 harper    ftp           3072 Sep 10 11:44 mac
drwxrwxr-x  2 harper    ftp            512 Jun 10 12:31 methods
drwxrwxr-x  2 harper    funstaff       512 Sep  9 06:25 mgn
drwxrwxr-x  2 harper    ftp           2560 Aug 11 11:10 msdos
drwxrwxr-x  2 harper    ftp            512 Sep  1 13:36 pir
drwxrwxr-x  2 harper    ftp           2048 Jul 23 14:05 unix
drwxrwxr-x  3 harper    ftp           1536 Sep 19 12:14 vax
226 Transfer complete.

# You can move down to different directories with the cd 
# command

ftp> cd biobit
250 CWD command successful.

# and again list with the dir command

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for .
-rw-rw-r--  1 harper    funstaff      1091 Sep 10 13:14 00INFO.NIC
-rw-rw-r--  1 harper    ftp          47212 Sep 21  1990 biobit1.txt
-rw-rw-r--  1 harper    ftp           9655 Sep 21  1990 biobit10.txt
-rw-rw-r--  1 harper    ftp          13289 Sep 21  1990 biobit11.txt
-rw-rw-r--  1 harper    ftp          12166 Sep 21  1990 biobit12.txt
-rw-rw-r--  1 harper    ftp          14155 Sep 21  1990 biobit13.txt
-rw-rw-r--  1 harper    ftp          15947 Sep 21  1990 biobit14.txt
-rw-rw-r--  1 harper    ftp          11737 Sep 21  1990 biobit15.txt
-rw-rw-r--  1 harper    ftp          12350 Sep 21  1990 biobit16.txt
-rw-rw-r--  1 harper    ftp          45339 Jan  4  1991 biobit17.txt
-rw-rw-r--  1 harper    ftp          13730 Jan  4  1991 biobit18.txt
-rw-rw-r--  1 harper    ftp          12824 Apr 11 06:54 biobit19.txt
-rw-rw-r--  1 harper    ftp          24777 Sep 21  1990 biobit2.txt
-rw-rw-r--  1 harper    funstaff     23046 Sep 10 13:12 biobit20.txt
-rw-rw-r--  1 harper    ftp          22138 Sep 21  1990 biobit3.txt
-rw-rw-r--  1 harper    ftp          19191 Sep 21  1990 biobit4.txt
-rw-rw-r--  1 harper    ftp          10831 Sep 21  1990 biobit5.txt
-rw-rw-r--  1 harper    ftp           9331 Sep 21  1990 biobit6.txt
-rw-rw-r--  1 harper    ftp          11977 Sep 21  1990 biobit7.txt
-rw-rw-r--  1 harper    ftp          11671 Sep 21  1990 biobit8.txt
-rw-rw-r--  1 harper    ftp           8435 Sep 21  1990 biobit9.txt
226 Transfer complete.

# If a file is obviously a plain ascii file you can read it 
# online if you say "get filename -"  This will redirect the
# output to the screen. Unix machines are case sensitive so
# be sure and write the file name exactly as you see it in
# the directory.

# (That is a - minus sign not an _ underline sign)

ftp> get 00INFO.NIC -
200 PORT command successful.
150 Opening BINARY mode data connection for 00INFO.NIC (1091 bytes).
00info.nic            Contents of biobit directory.
BIOBIT1.TXT           Computer Viruses
BIOBIT2.TXT           BIONET (What is it?)
BIOBIT3.TXT           RED TRICKLE SERVER (How does it work?)
BIOBIT4.TXT           Using Relay from LifeSci
BIOBIT5.TXT           Using FTP
BIOBIT7.TXT           Comparison of archiving programmes
BIOBIT8.TXT           Review of Current Contents on Disk
BIOBIT9.TXT           Naming conventions on EARN
BIOBIT10.TXT          Guide to mail gateways
BIOBIT11.TXT          Using the EMBL netserver
BIOBIT12.TXT          LDBASE and its use with LISTSERV
BIOBIT13.TXT          Mistakes you can make on the network :-)
BIOBIT14.TXT          International Center for Genetic engineering and Biotech.
BIOBIT15.TXT          Introduction to GOS (Genbank On-line Service)
BIOBIT16.TXT          Newsreader software ANU NEWS
BIOBIT17.TXT          Bitnet for the complete idiot:-)
BIOBIT18.TXT          Batch to the past ( Batch jobs to LISTSERV )
BIOBIT19.TXT          Intro to ARCHIE.
BIOBIT20.TXT          Intro to Freenet
226 Transfer complete.
1091 bytes received in 0.0054 seconds (2e+02 Kbytes/s)

# If you want to download a file to your own machine then it is
# good to use the hash command. This will print a # sign for
# every Kbyte transfered. Very useful if files are big because
# if there is no activity on the screen you have no idea if the
# connection is up or down.

ftp> hash
Hash mark printing on (1024 bytes/hash mark).

# To get a file use your common sense to determine if it is an
# ASCII file or a BINARY file. If it is Binary do not forget to
# set the BINARY option. That is if you have for some reason
# previously set the ftp option to ASCII. If you fail to do
# this then binary files will get trashed during the transfer.

ftp> get biobit20.txt
200 PORT command successful.
150 Opening BINARY mode data connection for biobit20.txt (23046 bytes).
226 Transfer complete.
23046 bytes received in 0.15 seconds (1.5e+02 Kbytes/s)

# The file will then be sent to you and 23 # marks will be
# printed on your screen as the Kbytes are transfered.
# To finnish the ftp session give the command bye
# and the connection will break and you will be back at your
# own machine

ftp> bye
421 Timeout (900 seconds): closing control connection.
********************** END OF SESSION *********************

In the past I have joked about NIC being the "Number 1 ftp site in the Galaxy"
When I look at the daily statistics I have almost convinced myself that
it is true. On average there is over 2000 logins per day and about 1 GIGA
of files goes out. These statistics are for ALL the /pub directories.

         Analysis statistics of FTPD usage of FUNIC.FUNET.FI
              Run date: Thu Sep 26 03:00:04 EET DST 1991
                 Data collected during previous day.

TotAls: Logins: 2288
IN: 5 files 0.023 MB  OUT: 10287 files 964.977 MB
TotFinnish: Logins: 8

More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net