ESM4714
Scientific Visual Data Analysis and Multimedia
Exercise #4: Details of File Transfer in the SciViz and Multimedia labs


Motivation:
Because transferring files from remote supercomputers and/or UNIX workstations to Mac and PC computers has been a key issue for many of our users over the last six years we have included this special (long) exercise to go into more detail and options available to the lab users. We have found that these file transfers operations occur almost always from remote supercomputers and/or UNIX workstations to Macs and PCs. This is partially why we have organized the class chronologically in two parts: first SciViz where we generate large data set at remote supercomputers and than generate images of this data on UNIX workstations that means something to the engineer/scientist, and than finally to transfer and organize these images into multimedia presentation on the more common Mac and PC computers. Randomly picking images from a clip art CD-ROM is a poor substitute for modeling, simulating, and visualizing the phenomena on remote super computers and UNIX workstations. It is doubtful that the engineer/scientist will find the correct CD-ROM image for a particular application. Therefore we emphasize that images should be generated within the context of the application by the engineer/scientist. In this class we attempt to link the two worlds of visualization and multimedia by emphasizing the use of distributed resources over the network. "Mainframe-centralized" computing under one roof is dead, long live distributed computing.

Objective:
Transfer images of various physical phenomena created on UNIX workstations to the Mac which is where we create QuickTime movies that will play on Macs and PC-Window computers. These same animations can then be distributed to a much wider audience with Mosaic or other web browsers. Although there are more convenient file transfer software applications like "Fetch", here we introduce you to NCSA's Telnet. Because the SciViz and Multimedia labs are connected to a common "Gator box" it is even more convenient to use the chooser on the Macs and select the appropriate UNIX hard disk (viz1, viz2, viz5, viz9, viz10, or mercury -> pluto) and just drag and drop the files from one machine to the other. We believe Telnet should not be used just because it is the best known public domain application with the widest distribution, but because the internet commands that are used on UNIX operating system are also used by Telnet on the Mac and PC. In this exercise we will introduce you to all these file transfer software tools but with NCSA Telnet we can show you the essential concepts of internet and ftp commands that will work anywhere across the network. Ironically we encourage you to use applications like Fetch and the Gator box and abandon Telnet but only after you learn how to use the more basic network file transfer commands. The same can be said of the "vi" UNIX editor: it is not the editor of choice but everyone knows how to use it: "Wherever you go there it is"


Procedures:    NOTE: Highlighted italic text denotes user response.
A. Transferring files UNIX<->Mac using a Gator Box

Transferring files using the Macintosh chooser is made possible by a Gator Box located in the Multimedia Lab.

Unfortunately, when you are working on a UNIX machine, you do not have a choice of file transfer packages. You must use ftp commands on our UNIX system. But, when you are working on a Macintosh or a PC you have a few choices of file transfer packages.

If you are transferring files between two Macintosh machines, the easiest way to transfer files is to mount the remote Mac's hard-disk on your Mac only if the remote Mac is setup for file sharing. Follow the procedure below to mount the remote machines drive.

  1. From the Apple Menu, chose, the Chooser option, and the menu below should appear.

    When you select the AppleShare option, the list on the right appears. From here, you can change the Apple Talk Zone and chose a file server. After choosing a file server, the figure below appears. In the case shown below, the file server that we have chosen is a UNIX machine, but the ability to mount such machines on a Macintosh rarely exists. In fact, the machines in the SciViz are the only machines on campus which can be mounted in this manner. This has been accomplished through the use of a Gator Box hardware that was made available to us in the Multimedia Lab.

  2. Here, you must supply a valid user name and password. Press the 'tab' key to move between fields. After supplying the correct information, a third menu appears, shown below.

  3. Now, you can finally chose which drive you wish to mount. If you select multiple drives (hold the shift key and click), each selected drive will appear as an icon on your Mac desktop. Do not select the boxes, if you do, it will create problems when the Mac has to be restarted.

  4. Now just drag and drop files from the Mac to the UNIX or UNIX to the Mac hard-disk-drives. This is obviously the simplest of all the file transferring methods in this exercise.


B. Transferring files without a Gator Box

If you need to move files between a Macintosh and a UNIX workstation that is located outside of the SciViz Lab, you must follow the procedure shown below.

Briefly:

Next we will expand on the procedure above which will show you how to

File Transfer Mac <-> UNIX Using Basic Commands without using the Gator box

  1. On the appropriate Macintosh in the Multimedia lab go to the folder where you want to transfer the files and check to see if that file already exists. If it does remove it or change it's name.

  2. Return to the hard disk on the Macintosh computer.

  3. Go to the file menu bar and quit the application. Now you are ready to use any of the Macintosh visual tools, see Exercise#6.

    Next we will show you how to use more convenient file transfer software tools such as Fetch and mounting remote UNIX hard disks onto the Mac using Mac's Chooser. But before we introduce you to those tools, we provide a short description of the most commonly used ftp commands where the command abbreviationis shown in parenthesis if it exists.


C. Transferring files using Fetch

  • If you working on a Macintosh that has Fetch software installed, you can transfer files between a Macintosh and UNIX machine using Fetch, a point and click interface.

    1. To start Fetch, From the Apple Menu, choose Applications, then Fetch. You will see on the monitor a menu, similar to the one shown below.

    2. You must next supply the required information in all of the fields, except the directory field, which you can leave blank. Press the 'tab' key to move between fields. Leaving the directory field blank will put you in your home directory. When you type your password, it will not appear on the screen, but you will see a bullet series. After all of the fields are filled in, press the 'return' key and the screen below will become active. At this point, you can begin to select the appropriate directory that you wish to be in and get or put files automatically. The program can usually determine the correct mode of file transfer, but it does give you a chance to change the mode if you need to. When you are finished, click on the close connection box and quit Fetch.


    Click image to return to Visualization home page.
    R.D. Kriz
    Virginia Tech
    College of Engineering
    Revised 01/10/99

    http://www.sv.vt.edu/classes/ESM4714/exercises/exer4/exer4.html