Skip to content Skip to site navigation

AFS File-Transfer: Windows Desktop

To increase security and reduce risk, Stanford is sunsetting its WebAFS service that is used to upload and download files to AFS.

To optimize AFS and make sure it is serving its intended functions, UIT has also taken these actions:

  • UIT no longer automatically provisions new faculty and staff members with AFS user volumes. New faculty or staff who need a personal user volume must submit a Help request.
    • This change does not impact existing AFS directories or the process for adding permissions for new individuals to those existing directories. Your existing space and everything in it remains intact.
    • This change does not impact the auto-provisioning of new AFS user volumes for students and postdocs.

​Class volumes do not expire and are kept indefinitely. This is an official academic policy, and any change to this policy must be considered by the Faculty Senate.

File transfer applications

The following secure methods for publishing, posting, and transferring files over the Stanford network are available:

Note: Stanford does not support unsecure FTP.

Publishing using OpenAFS (Windows)

This can be done by mounting the AFS folder you want directly on your computer, thereby creating a virtual connection to the network. This creates a folder, known as a "network folder," which you can use as you would any other Windows folder: you can create, name, move, copy, select, delete, rename, print, and search for AFS files and directories on your computer. You won't need to FTP or "Put" files when you want to publish them.

Notes:

  1. Launch the Stanford AFS Controller app.
    (If Stanford Desktop Tools (SDT)  is installed, you can launch OpenAFS by right-clicking the SDT icon Stanford Desktop Tools icon in the notification area and then clicking Mount AFS Volume. )
     
  2. If you are not logged in to Kerberos an "Obtain a new  AFS Token?" message displays.  Click Yes.  

    prompt to obtain a new AFS token
     
  3. Enter your SUNet ID and password in the New credentials window and then click OK to obtain an AFS token.

    log in to get new AFS token
     
  4. When the Mount AFS Volume window displays, 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.

    choose AFS space where you choose to publish
     
  5. Enter the appropriate directory name and click the Mount button. (You do not need to enter a directory name for My Home.)

    enter directory name to mount
     
  6. The AFS directory automatically opens in File Explorer and the directory will be added as a new drive. You can drag and drop files from your computer to this folder to publish them.
     
  7. When you are done publishing you can close your volume's window, then exit the Mount AFS Volume window. Or, you can select the volume you have open from the Currently mounted volumes and then click Unmount.

Publishing using SecureFX (Windows)

SecureFX is a Windows application that lets you securely transfer files between computers using a format called the SSH (Secure socket SHell) protocol. It is used to move HTML, graphic, and other files from personal computers to the server computers, which make them available to the web.

To download SecureFX:

  1. Go to the SecureFX page to download the software.
    The Stanford community can download and use SecureFX free of charge.
     
  2. Follow the SecureFX configuration instructions.

SecureFX has pre-configured SSH2 connections to Cardinal and Corn—the most widely used University IT-supported servers.

Using SecureFX to publish files to a personal web folder

  1. Launch SecureFX.
     
  2. Click either  cardinal.stanford.edu or rice.stanford.edu, and then click Connect.
    Note: If you prefer to use another server, see Adding sessions on the Configuring SecureFX web page for instructions.

    preconfigured Stanford sessions
     
  3. If the New Host Key dialog box is displayed, click Accept & Save to establish a secure connection to the server.

    new host key message for cardinal server
     
  4. In the Username field, enter your SUNet ID and click OK.

    enter your SUNet ID
     
  5. In the Password field, enter your SUNet ID password and click OK.

    enter your SUNet ID password
     
  6. Next your may be prompted to enter a two-step authentication code. You can either enter a passcode or choose one of the other methods listed for authenticating. If you select to have a code delivered by SMS text message, select the menu item for SMS then enter the code at the next prompt.

    enter passcode or choose another two-step authentication option
     
  7. If you are connecting to Cardinal or Corn, your desktop and your AFS home folder are displayed in separate tabs. Double-click the WWW folder in your AFS home folder.

    connect to the your WWW directory on the remote server
     
  8. Navigate to the folder where you want to publish your files. You can drag and drop, copy and paste, or manually upload files from your desktop to this folder to publish them.

Using SecureFX to publish files to a group or department web folder

  1. Connect to your personal AFS web folder as described in the procedure above.
     
  2. On the File menu, click Change Directory.
     
  3. Enter the AFS path for your department or group web folder and click OK.
    Examples: /afs/ir/dept/dept_name/WWW  (department folder) or /afs/ir/group/group_name/WWW (group folder).

    enter the path for your department or group WWW folder
     
  4. Navigate to the folder where you want to publish your files.  You can drag and drop, copy and paste, or manually upload files from your desktop to this folder to publish them.

Other useful features in SecureFX

Adding directories (folders):

  1. Under the File menu, point to New and then click Folder.
  2. Enter the new folder's name and click OK.

    create a new folder in AFS
     

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").

Deleting files and directories (folders):

  1. Select the file(s) or folder(s) you want to delete.
  2. Under the File menu, click Delete.
  3. You'll be prompted to confirm that you wish to delete the file. Click OK.
     

Renaming files and directories (folders):

  1. Select the file(s) or folder(s) you want to delete.
  2. Under the File menu, click Rename.
  3. Enter the new name and press the ENTER key on your keyboard.
Last modified April 12, 2023