Page 258 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 258

Network Operating Systems-I




                    notes                The simplest way to initiate FTP would be to give the command
                                         ‘ftp <system-name>’. The  <system-name>  is the remote

                                         system you are connecting to, either a name like garbo.uwasa.fi,
                                         if you have an entry in /etc/hosts or are accessing a Domain
                                         Name Server or the Internet address 193.166.120.5  for Garbo. If
                                         that last sentence doesn’t seem to make sense just try: ftp
                                         garbo.uwasa.fi or ftp 193.166.120.5 and look what happens.

                                         After a short wait, you will be prompted for your username. If
                                         you do not have an account on the remote system, some systems
                                         allow you to use ‘anonymous’. This gives you a restricted
                                         access path (meaning that you can only run certain commands

                                         like ‘dir’ or ‘ls’ and are allowed only access to certain
                                         directories like ‘pub’).


                                         You would then be prompted for a password. Some systems will
                                         tell you to send your real identity as the password. What you
                                         type doesn’t matter in most cases, but it is suggested to give

                                         your e-mail address. This as a courtesy to the archive maintainers,
                                         who would like to know who’s using their system. Other systems
                                         need a password of ‘guest’, or something similar.
                                         DO NOT TYPE A PASSWORD THAT YOU USE ON YOUR OWN SYSTEM!



                                         After that, you should receive the FTP prompt ( usually ftp> )
                                         and have access. You can get a directory of files by giving a
                                         ‘dir’ command. If the remote system is Unix-based and dir does
                                         not work, try ‘ls -l’ for an MS-DOS like output.

                                         On Garbo, there is a file available in the default anonymous ftp
                                         directory that explains what Garbo is and where files are located.
                                         Look for 00-index.txt or README files or some similar name.



                                         Unix systems will all have the same directory structure, and
                                         moving around is done with the ‘cd’ or ‘cwd’ command.
                                         TOPS-20, VAX/VMS, DOS VM/CMS and other systems have a different
                                         structure, but movement is still accomplished with the ‘cd’
                                         command.






          252                              LoveLy professionaL university
   253   254   255   256   257   258   259   260   261   262   263