Examples of opening a connection to a remote host

1. To open a connection to the ftp server on a remote host:

   ftp> open castor
   Connected to castor.ucs.ed.ac.uk.
   220 castor FTP server (SunOS 4.1) ready.
   Name (castor:erpl08): erpl08
   331 Password required for erpl08.
   Password: not echoed
   230 User erpl08 logged in.
   ftp> 

This shows the user opening a connection to their account on the remote host "castor". Notice that you must supply your username and password for your account on the remote host.

2. To open a connection to an "anonymous ftp" server on a remote host:

   ftp> open info.cern.ch
   Connected to nxoc01.cern.ch.
   220 nxoc01 FTP server (Version 5.20 (NeXT 1.0) .....
   Name (info.cern.ch:erpl08): anonymous
   331 Guest login ok, send ident as password.
   Password: enter your email address here
   230 Guest login ok, access restrictions apply.
   ftp> 

This shows a user opening a connection to the anonymous ftp server "info.cern.ch", which is located in CERN, the European Particle Physics Laboratory in Geneva, Switzerland.

This server is an archive for the software and documentation used by the World Wide Web


Top document