Skip to content Skip to navigation

AFS File-Transfer: Mac Desktop

Which method should I use?

The grid lists secure methods of publishing, posting, or transferring files over the Stanford network. Mac OS 9 is no longer supported.

  AFS Mounting SFTP
(Secure File Transfer Protocol)
OS X 10.4 OpenAFS Fetch
OS X 10.1
OS X 10.2
OS X 10.3
Not Available Fetch

Note: Stanford no longer supports unsecure FTP. This means some transfer programs and older versions of certain HTML editors (like Dreamweaver 4) that allowed hackers to steal passwords over the Internet will no longer work in the Stanford computing environment.

Publishing using OpenAFS (Macintosh)

Stanford OpenAFS is used to mount directories in AFS to your Mac's desktop, the same way you would work with other network volumes. Anyone with a full service SUNet ID can access their own AFS space, or space in other user directories, group, and department directories, provided they have been granted the necessary permissions.

Note: OpenAFS for Macintosh is available for download on the OpenAFS at Stanford site. The Using Stanford OpenAFS for Macintosh page provides information about installing, mounting, permissions,and connecting/disconnecting with OpenAFS.

  1. On your hard drive, navigate to Applications > Stanford > AFS and launch the AFS Controller to display the Mount AFS Volume window.

    Note: You may want to create a shortcut to the AFS Controller and put it in the dock.

  2. If a dialog box appears, asking if you want to obtain a token, click Yes.

    get token message

  3. Enter you SUNet ID and password and click OK.

    get token

  4. When the Mount AFS Volume window is displayed, select the AFS space where you wish to publish items from the Mount Volume belonging to drop-down list box.

    • To publish to your personal web space, select My Home.
    • To publish to someone else's personal web space, select User.
    • To publish to a class web space, select Class.
    • To publish to a group web space, select Group.
    • To publish to a departmental web space, select Department.

    select AFS space where you want to mount volume from drop-down list

  5. Enter the appropriate directory name and click the Mount button. (You do not need to enter a directory name for My Home.)

    enter a directory name

  6. An alias to the selected network folder will mount on your desktop. You can now drag and drop files from your computer to the network drive to publish them.

    Note: Be sure to place files you wish to publish to the web inside the WWW folder to make them accessible to others.

    mount department

Publishing using Fetch (Macintosh)

Fetch is a Macintosh application that allows users to securely transfer files between computers using a format called SFTP (Secure File Transfer Protocol). It is used to move HTML, graphic, and other files from a personal computer to the server computers which will make them available on the web.

The Stanford community can download and use Fetch free of charge.

Note: You need a SUNet ID and password to download software at the Essential Stanford Software web site.

To download Fetch:

  1. Go to the Fetch page.
  2. Follow the instructions for downloading a copy of Fetch. Save the installer to the Desktop so you can find it easily.

  3. Once the file is downloaded, exit your browser.

  4. Find the installer file on your Desktop. Double-click it to run the installer.

  5. Fetch will install to your computer. The registration code is not included with the download. Please follow the configuration instructions that include the registration information.

Using Fetch to publish files to a personal web folder

  1. Launch Fetch.

  2. The New Connection dialog box will appear. If it does not, choose New Connection under the File menu.

  3. Enter the following in the New Connection dialog box:
    • Hostname: enter cardinal.stanford.edu.
    • Username: enter your SUNet ID.
    • Connect using: select SFTP.
    • Enable encryption: this is automatically checked when SFTP is selected.
    • Password: enter your SUNet ID password.
    • Add to keychain: unchecked.

    New Connection dialog box

  4. Click the Connect button.

  5. Select the WWW folder and click the Put icon.

    Note: You can double-click the WWW folder if the directory you wish to publish to is inside of this folder.


    personal web folders

  6. Locate the file to be uploaded from your computer to the server and click Put to publish the file.

    select file to upload

Note: You can drag-and-drop to and from your desktop to the folder as an alternative to the "Put" and "Get" methods.

Using Fetch to publish files to Dept or Group web folders

  1. Launch Fetch

  2. The New Connection dialog box will appear. If it does not, under the File menu, choose New Connection.

  3. Enter the following in the New Connection dialog box:
    • Hostname: enter cardinal.stanford.edu.
    • Username: enter your SUNet ID.
    • Connect using: select SFTP.
    • Enable encryption: this is automatically checked when SFTP is selected.
    • Password: enter your SUNet ID password.
    • Add to keychain: unchecked.

    New Connection dialog box

  4. If you do not see the Initial folder section of the dialog window, click the blue arrowhead icon to display it.

  5. In the Initial folder field, enter the path for your department (or group) web folder. Example: /afs/ir/dept/deptname/WWW
    If you are publishing to a group folder, enter the path to your group. Example: /afs/ir/group/groupname/WWW

    enter department path

  6. Click the Connect button.

  7. Select the WWW folder and click the Put icon.

    Note: You can double-click the WWW folder if the directory you wish to publish to is inside this folder.

    web folders

  8. Locate the file to be uploaded from your computer to the server and click the Put button to publish the file.

    select file to upload

Notes

Note: Web directory names generally are in all lowercase and are always only one word. If two or more words are needed, they may be made into one word or separated by a dash or underscore ("newfolder," "new-folder," or "new_folder," but not "new folder"). In other words, you cannot use a space for directory names.

Deleting Files and Directories (Folders):

  1. Select the file or directory you want to delete.

  2. Click the Delete icon on the Fetch dialog window. (You can also delete a file or folder by dragging it to the trash.)

  3. You will be prompted to confirm that you wish to delete the file/directory.

For information and help with the icons on the Fetch dialog window, in the Help menu, click Fetch Help.

Last modified March 10, 2010