IHSUNRISE-2, Internet Help Memo for SUNRISE Page 1 This memo tells you how to use the Internet from SUNRISE, Syracuse University Academic Computing Center's VAX/VMS system. The Internet is a world-wide cooperative network that includes NYSERNet, NSFnet, and other networks. It also includes the Syracuse University Internet which interconnects SUNRISE, RODAN, and SUVM as well as numerous other computers on campus including those of the CASE Center and NPAC. SUNRISE's "Internet" name is sunrise.acs.syr.edu. Using SUNRISE's Internet capabilities, you can exchange electronic mail with other Internet computers, transfer files between SUNRISE and other Internet computers and can sign-on to and use other Internet computers interactively. Mail You can send and receive Internet mail using normal VMS mail on SUNRISE. Received mail is delivered just like any other mail on SUNRISE. To send mail, you need to know the address of the recipient (the "Internet Address"). It will be of a form like: hubbard@xanadu.sequoia.edu edith@bigcorp.com Start VMS mail as usual: $ mail When you type SEND and are prompted by To:, put double-quotes around the Internet Address and prepend it with the string internet% as follows: To: internet%"hubbard@xanadu.sequoia.edu" To send to computers within Syracuse University such as RODAN, you can abbreviate the Internet name by leaving off everything after the first period. For example, either of the following will send mail to username jdoe on RODAN: To: internet%"jdoe@rodan.acs.syr.edu" To: internet%"jdoe@rodan" If there is a problem with the address or with the receiving computer, you will be notified by a mail message. Transferring Files You can transfer files between SUNRISE and other computers on the Internet when you are logged on to SUNRISE. To transfer files to or from a remote computer, you need to know its Internet name and an account and password on it. While logged on to SUNRISE, use the FTP command with the name of the remote computer: $ ftp xanadu.sequoia.edu JMW 4/90 IHSUNRISE-2, Internet Help Memo for SUNRISE Page 2 The FTP program will take a little while to lookup the name of the remote computer (e.g. xanadu.sequoia.edu) and will establish a connection between computers. Then FTP will give you its "usual prompt" which consists of the Internet name of the remote computer followed by a greater-than sign (>): XANADU.SEQUOIA.EDU> Next, type login followed by your username on the remote computer. FTP will prompt you for a password. When you are successfully logged in, you'll be prompted for another FTP command. XANADU.SEQUOIA.EDU> login planck The password will not display on the screen when you type it. The following FTP commands will help you to transfer files: dir - prints a directory of the files on the remote computer. It takes the name of a directory (in the syntax of the remote computer) as its sole argument. get - copies a file from the remote computer to SUNRISE. It takes two arguments. The first is a file specification for the remote file in the syntax of the remote computer, the second is a file specification for the local file to be created in the syntax used by SUNRISE (VAX/VMS). put - copies a file from SUNRISE to the remote computer. It also takes two arguments. The first is a file specification for the local file in the syntax used by SUNRISE (VAX/VMS) and the second is a file specification for the remote file to be created in the syntax of the remote computer. cd - changes the working directory on the remote computer. It takes one argument which is the specification of a directory on the remote computer. help - display a description of an ftp command. With no argument, it gives a brief information message. If you specify the name of a particular FTP command as an argument, it will tell you about that command. To get a list of commands, type help ?. hash - causes a hash mark (#) to be printed after each 1024 bytes are transferred. This lets you know how the file transfer is progressing which is helpful when you are doing a long or a slow transfer. binary - sets "binary mode", i.e., causes all subsequent "puts" and "gets" to transfer files without translating each byte. Normally, bytes are translated so that text in the file remains readable. ascii - sets "ascii mode" (the default), i.e., nullifies the effect of the "binary" command. quit - exits from FTP. JMW 4/90 IHSUNRISE-2, Internet Help Memo for SUNRISE Page 3 Example of File Transfer $ ftp xanadu.sequoia.edu SUNRISE.ACS.SYR.EDU MultiNet FTP user process 2.1(91) Connection Opened (Asumming 8-bit connections) login planck dir get life mylife.text quit exit