USING ANONYMOUS FTP / TRANSFERRING FILES BETWEEN MACHINES You often will want to get files from another computer. One way of doing this is the ftp command. For many public sites and data centers this is done with anonymous ftp. You simply enter: ftp othercomputer where "othercomputer" is the name (or IP address) of the other computer. When you are asked to login, just enter "anonymous" and then your e-mail address as a password. Of course, if you have login permission on the other computer then you can ftp to the machine even if it is not set up for anonymous ftp. Once within ftp, you will get a ftp> prompt. You then can use the "cd" command to get to the directory that you want and "ls" to see the file names on the remote computer. Finally use "get" to bring the desired file to your own computer and then "quit" to exit ftp. If you want to get all of the files in the directory, use the command "mget *" and you will be prompted for each file name. If you don't want to be prompted, you can turn off the interactive mode by entering ftp -i othercomputer when you first invoke ftp. If you are getting binary files (rather than simple text files), you should enter type binary at the FTP prompt before getting the files. Because "type binary" will work with all types of files, including ascii, it is a good practice to always enter "type binary" as soon as you enter ftp. The default for the Suns is "type ascii" which does not work with binary files. If the remote computer objects to regular ftp for security reasons, you might try the "sftp" which is the secure ftp command. If you have just a few files to transfer, you may want to use the secure copy command: scp filename *.ps shearer@rock.ucsd.edu:./TRANSFER will copy filename and all files ending with .ps from the current directory to the TRANSFER directory in shearer's account on rock.ucsd.edu (after first prompting for the password).