If your system is on a network, you can access files, media devices, and printers from other systems on the network. For information, see:
If your system is on a network, you can use the Find Remote Resources form to find a particular system's shared resources—directories, media devices, and printers. To do this:
Select “On a Remote Workstation” from the Shared Resources menu in the System toolchest to open the form.
Type in the name of the system you want to see.
A list of all that system's shared resources appears in the display.
Double-click an icon to open it, or drag an icon onto your desktop for easy access.
If your machine is on a network and you have optional NFS software installed (see “Checking the Software Configuration” in the Personal System Administration Guide to find out if NFS is installed), you find an icon for a remote host by using Host QuickFind.
If Host QuickFind isn't already open on your screen, select “Host QuickFind” from the Find toolchest to open it.
To find an icon for a remote host, type in the remote hostname and hit <Enter>. The host's Find Remote Resources form appears. This form displays all the shared resources on the remote system.
If you want easy access to the remote host, you can drag the host icon onto your desktop.
If you're logged into an account, but want to access a particular directory as a different user, you can do so using the Access Desktop form. For example, if you're logged into the guest account, and you want to edit a file owned by root, you can open the Access Desktop form, “login” as root, then open the directory that contains the file you want to edit. The directory recognizes you as root, and lets you access files as root.
To use the Access Desktop form to access files as another user:
Select “As Another User” from the Access Files menu in the Desktop toolchest.
The Access Desktop form appears.
Type in the login name and password of the user you want to become.
Select “Directory” to open a directory.
Type in the pathname of the directory you want to view.
Click the Apply button.
An Icon View of the directory appears.
If your machine is on a network, you can access directories on other systems on the network in any of several ways:
If two systems are on a network and optional NFS software is installed on both systems (see “Checking the Software Configuration” in the Personal System Administration Guide to find out if NFS is installed), you can access files on the remote system using automount. To do this, follow these 3 steps:
Make sure the directory on the remote system is marked as shared.
Select “On a Remote Workstation” from the Shared Resources menu in the System toolchest.
When the Find Remote Resources form appears, type in the name of the workstation you want to access.
A list of the shared directories appears in the display.
![]() | Note: If the directory is not listed, it's not shared. The owner of the remote directory can use the Share a Directory guide to share the directory. (For information, see “Sharing Directories With Other Systems.”) |
To open an Icon View of the directory, you can either:
Drag the directory icon to your desktop and open it.
Select “Automount Remote Directory” from the Actions menu in an Icon View window. /hosts/ appears in the icon finder.
Type in the remote system name and the directory path for the directory you want to open.
For example, if the system where the remote directory resides is called murgatroid, and the directory you want to open is /usr/people/dave, the pathname would look like this:
/hosts/murgatroid/usr/people/dave
Choose “In a Remote Directory” from the Access Files menu in the Desktop toolchest. If you do this, an Icon View window appears with /hosts/ in the icon finder.
Type in the remote system name and the directory path for the directory you want to open. (See above for an example.)
When the Icon View of the directory opens, you can drag a file from one Icon View to another to copy it.
If you want to copy a file from your local system to the remote directory, the owner of the remote directory must have activated write permission for the directory. They can do this using the Share a Directory guide. (For information, see “Sharing Directories With Other Systems.”)
You can use the Access Desktop form to log into a remote system and open a remote directory or toolchest. When logging in, you must specify a user that has an account on the remote system. The default user is guest.
To access remote files by logging into a remote system:
Select “By Remote Login” from the Access Files menu in the Desktop toolchest.
The Access Desktop form appears.
Type in the remote workstation name.
Type in a login name that exists on the remote system, and the password.
Select “Directory” or “Toolchest” to open an Icon View of a directory or the remote system's toolchest.
If you're opening a directory, type in the pathname of the directory.
Click the Apply button.
The remote directory or toolchest appears.
The ftp program lets you transfer files using the Internet File Transfer Protocol. To use ftp, you must have a login account with a password on the remote workstation. If the account doesn't have a password, ftp will not work.
Some accounts allow anonymous login. If a site has anonymous login, anonymous appears in the username field, and your E-mail address appears in the password field.
To use ftp in an Icon View window:
Type the ftp pathname into the icon finder, and hit <Enter>.
For example, if the name of the system you want to access is IRIS9, you would type:
ftp://IRIS9/
You can also open an Icon View with ftp:// already typed into the icon finder by selecting “Icon View of an FTP Site” from the Internet toolchest or from the Actions menu in an Icon View.
When the login window appears, type in a username and password, then click the OK button.
If a site has anonymous login, anonymous appears in the username field and your E-mail address appears in the password field. Click the OK button to log in.
The files appear in the display.
You can access remote files on the Web by typing a URL into the icon finder in an Icon View window. To type a URL into the icon finder, begin the URL address with http://.
When you enter a URL into an Icon View window, a list of all the URL links on the Web page appear. Each text item and image is converted to a file that you can copy to your system by selecting the icon, pressing the <Ctrl> key, and dragging the icon into a directory folder.
You can also open a Web site by dragging a WebJumper icon into the Icon View drop pocket. For information on using WebJumper, see “Using WebJumper.”
The ftp program lets you transfer files using the Internet File Transfer Protocol. To use ftp, you must have a login account with a password on the remote workstation. If the account doesn't have a password, ftp will not work.
To use the ftp command to transfer files between workstations, you must first log in to the remote machine using ftp. This example shows how to use ftp to connect to the system IRIS9.
![]() | Note: If IRIS9 is in a different domain (bldg2, for example), you would use IRIS9.bldg2 in the example below instead of IRIS9. |
Open a shell window by choosing “Unix Shell” from the Desktop toolchest.
Start the program by typing:
ftp IRIS9 |
Press <Enter>.
The screen displays something similar to this:
Connected to IRIS9. 220 IRIS9 FTP server ready. |
Type the login name at the prompt that appears; then press <Enter>. A user named joe would type:
Name (IRIS9:joe): joe |
Type the password at the password prompt; then press <Enter>.
331 Password required for joe. Password: |
![]() | Note: If the account does not have a password, you cannot use ftp. |
You are logged in when the screen displays:
230 User joe logged in.
Once you are logged in to the remote workstation, you can transfer files from your system to IRIS9, and vice versa, using the put and get commands. (If you have not logged in to the other workstation yet, see “Using ftp to Log Into Another System.”)
This example shows how to transfer a file called file1 from your machine to IRIS9. Type the following at the ftp prompt:
ftp> put /usr/people/joe/file1 /usr/tmp |
This copies file1 from /usr/people/joe on your system to /usr/tmp on IRIS9.To copy file2 from IRIS9 to your system, type:
ftp> get /usr/people/fred/file2 /usr/tmp |
This copies file2 from /usr/people/fred on IRIS9 to the /usr/tmp directory on your system.
The ftp program has many options. See the ftp reference page (man page) for further details.
If two systems are on a network, you can copy files between these systems using the rcp command in a shell window.
You can use the rcp (remote copy) command to copy information from your system to another system, or vice versa. To do so, you need this information:
The name of the system you are copying to or from and, if the system is in a different domain, the domain name.
A login name to access the system.
The pathname of the file being copied.
A pathname indicating where you want the copied file to be placed on your workstation.
The command syntax shows how you specify this information:
rcp [user@]source[.domain]:filename local_filename
(The square brackets indicate that the information contained within them is optional.)
See the rcp reference page (man page) for more detailed information on the command syntax.
This section shows how to use the rcp command to copy files from another system. See “Anatomy of the rcp Command” for more details on the command.
This example supposes you want to copy file1 from /usr/people/fred on a system named IRIS9 and place it in the /usr/tmp directory on your system.
Open a shell window by choosing “Unix Shell” from the Desktop toolchest.
If you have a login account on IRIS9, type:
rcp IRIS9:/usr/people/fred/file1 /usr/tmp
If you don't have a login account on IRIS9, copy the files as guest by typing:
rcp guest@IRIS9:/usr/people/fred/file1 /usr/tmp
![]() | Note: If IRIS9 is in a different domain (bldg2, for example), you would use IRIS9.bldg2 in the example below instead of IRIS9. |
Press <Enter>.
This section shows how you use the rcp command to copy files to another system. See “Anatomy of the rcp Command” for more details on the command.
This example supposes you want to copy file2 from
/usr/people/joe on your system to /usr/tmp on a system called IRIS9.
Open a shell window by choosing “Unix Shell” from the Desktop toolchest.
Type:
rcp /usr/people/joe/file2 guest@IRIS9:/usr/tmp |
To copy a directory and its contents from one system to another, you use the -r option to rcp. This example shows what you would type to copy the directory /usr/people/joe/reports from your system to /usr/tmp on a system called IRIS9.
Open a shell window by choosing “Unix Shell” from the Desktop toolchest.
Type:
rcp -r /usr/people/joe/reports guest@IRIS9:/usr/tmp |
![]() | Note: The -v option lets you see the names of files as they are copied. Consider the example. If you add the -v option, you see the names of the files in the reports directory as they are copied to IRIS9. |
If you know the name of a remote system that has a drive you want to access, and the owner of the system has marked the drive as shared, you can access the drive using the Find Remote Resources form.
To access a remote media device:
Select “On a Remote Workstation” from the Shared Resources menu in the System toolchest.
The Find Remote Resources form appears.
Type the name of the remote system into the field at the top of the form.
A list of all the system's shared directories, media devices, and printers appears in the display.
Drag the device icon you want onto your desktop for easy access. Dragging it onto your desktop lets you use the device as if it existed on your own system.
Click the Quit button to close the form.
A Privileged User can use the Find Remote Resources form to locate printers that are connected to other systems on the network, and to drag those icons onto the desktop for use. This has the same effect as using the Printer Manager to install a network printer; that is, once the printer is dragged onto the desktop, it also appears in the Printer Manager window.
To use the Find Remote Resources form to locate a printer:
Select “On a Remote Workstation” from the Shared Resources menu in the System toolchest.
The Find Remote Resources form appears.
Type the name of the remote system into the field at the top of the form.
A list of all the system's shared directories, media devices, and printers appears in the display.
Drag the device icon you want onto your desktop for easy access. Dragging it onto your desktop lets you use the device as if it existed on your own system.
Click the Quit button to close the form.
If you have a tape drive attached to your system, you can easily copy files to and from a tape using the Removable Media Panel.
If you do not have a tape drive attached to your system, you can copy files to and from a tape on a remote system by placing the remote tape drive icon onto your desktop. For information on accessing a remote tape drive, see “Accessing Remote Media Devices.”
Also see “About Tape Formats and Capacities” in the Personal System Administration Guide; it explains the different types of tapes that are available.
For details on copying files to and from a tape, see:
Use the Back Up Files guide to copy files to a tape. To do this:
Double-click the tape drive icon on your desktop.
If the icon isn't on your desktop, select “Removable Media Manager” from the System toolchest. When the window appears, double-click the tape drive icon.
The Removable Media Panel appears.
Double-click the “Schedule Backup” task icon in the lower half of the Removable Media Panel window.
The Back Up Files guide appears.
Follow the instructions in the guide to copy files to a tape.
Use the Restore Files From Backup guide to retrieve files from a tape. To do this:
Double-click the tape drive icon on your desktop.
If the icon isn't on your desktop, select “Removable Media Manager” from the System toolchest. When the window appears, double-click the tape drive icon.
The Removable Media Panel appears.
Double-click the “Restore Files From Backup” task icon in the lower half of the Removable Media Panel window.
The Restore Files From Backup guide appears.
Follow the instructions in the guide to retrieve files from a tape.
If you have a floppy disk drive attached to your system, you can copy files to and from a floppy disk. You can also copy Macintosh and DOS PC files onto your system.
If you do not have a floppy drive attached to your system, you can copy files to and from a drive on a remote system by placing the remote floppy drive icon onto your desktop. For information on accessing a remote tape drive, see “Accessing Remote Media Devices.”
If you are copying files from a Macintosh or DOS PC disk, make sure the application software is compatible with application software available on your system. Depending on the application, some files may need to be run through a translator before you can use them.
![]() | Note: Always use the desktop when copying Macintosh files, (not the standard IRIX cp or rcp utilities). The desktop copies all the necessary components of the file, including the data fork , the resource fork, and the Finder information. |
To copy files onto a floppy disk:
Insert a floppy disk into the drive.
The floppy icon on your desktop changes to show that a floppy is present in the drive.
Open an Icon View window of the directory that contains the files you want to copy.
Double-click the floppy drive icon to open an Icon View of the contents of the floppy disk; then drag the files you want to copy into this window.
Close the Icon View of the floppy disk by double-clicking the button in the upper left corner of the window border.
Eject the floppy disk by selecting the floppy drive icon and choosing “Eject Floppy” from the Selected toolchest.
![]() | Note: Always use the desktop when copying Macintosh files, not the standard IRIX cp or rcp utilities. The desktop copies all the necessary components of the file, including the data fork , the resource fork, and the Finder information. |
You can copy files from a floppy disk by opening up an Icon View of the files on the floppy and dragging them into an Icon View on your system.
If you are copying files from a Macintosh or DOS PC, make sure the application software is compatible with application software available on your system. Depending on the application, some files may need to be run through a translator before you can use them.
To copy files from a floppy disk onto your system:
Insert the floppy disk into the drive.
A floppy disk icon appears on your screen.
Double-click the icon to open an Icon View of the files on the floppy disk.
Open an Icon View window of a directory on your machine to which you want to copy the files.
Drag the files from the floppy disk Icon View into the Icon View you opened on your system.
The files are copied to the new location.
Close the Icon View of the floppy disk by double-clicking the button in the upper left corner of the window border.
Eject the floppy disk by selecting the floppy drive icon and choosing “Eject Floppy” from the Selected toolchest.
![]() | Note: Always use the desktop when copying Macintosh files (not the standard IRIX cp or rcp utilities). The desktop copies all the necessary components of the file, including the data fork , the resource fork, and the Finder information. |