Using WinSCP to Transfer Files with SFTP [Windows]

Environment

WinSCP, AFS, Windows

Issue

Instructions for users who want to transfer files from a Windows computer to AFS. WinSCP uses sftp (secure file transfer protocol).

Resolution

Downloading and installing WinSCP on personal computers and unmanaged university computers 

  • Members of the U-M community can download WinSCP
  • Note:  If you use Microsoft Edge, you may (depending on our website’s reputation) have to click through a number of Microsoft SmartScreen hoops in order to download a usable copy of the installer
  • Go to your Downloads folder and double-click the UM-WinSCP.exe file (or you can open it using your web browser, if your web browser offers that option)

Downloading and installing WinSCP on MiWorkspace and managed university computers with a Software Center

  1. Download the WinSCP software from the Software Center (Windows)
    1. Learn more about using the software center on MiWorkspace computers
  2. From the Software Center window, search for WinSCP
  3. Download WinSCP
    1. WinSCP will download to your desktop
  4. Follow the instructions in the installer

Connecting to AFS and Other U-M Remote Servers

This version of WinSCP is preconfigured for commonly accessed SFTP servers at U-M.

  1. Go to the Windows Start Menu
  2. Click on WinSCP
  3. You will see a Login window

Login window with a list of sites on the left and login information on the right under the Session heading. At the bottom are Login, Close, and Help buttons

  1. Connect to the remote server where you want to access files, for example the ITS Login Service in order to access files in AFS
    1. U-M WinSCP: Double-click on “ITS Login Service and AFS” in the list of sites on the left
    2. Other versions of WinSCP:  Fill in the following information in the “Session” section on the right:
      1. File protocol: SFTP
      2. Host name: sftp.itd.umich.edu
      3. Port number: 22
      4. Leave the “User name” field blank
      5. Leave the  “Password” field blank
    3.  Then click the Login button on the bottom (right side)
      1. If you get a warning message when you first attempt to connect to a new server, click Yes to continue.
  2. In the Username: text box, type your uniqname and click OK to continue
  3. For your AFS Home Directory, this password is your UMICH (Level-1) password
    1. A window showing your local computer on the left and your AFS home directory on the right opens
    2. You are now ready to transfer files

Transferring Files

  1. Transfer files by dragging their icons from one side of the window to the other
  2. You can transfer files either from your local drive (left side of the screen) to the remote folder (right side of the screen)
    1. If you transfer your files from the local drive you are uploading them, if you are transfer from the remote folder you are downloading the files or folders

Note: You can copy files from your local computer to your AFS home directory and vice versa

Deleting a File From Your Home Directory

  1. On the home directory (remote) side of your window, click a file to select it
  2. From the Files menu, select the Red X (Delete)
  3. In the Confirm dialog box, click OK. The file is deleted

Closing Your Connection

  1. In the top right corner of the WinSCP file transfer window, click the red X
  2. In the Confirm dialog box, click OK. This closes your connection to the host computer, and closes the window

Additional Information

Renaming a File in Your Home Directory

  1. While your connection is open, on the home directory (remote) side of your window, click a file to select it
  2. From the Files menu, select Rename
  3. When the filename becomes editable, make whatever changes to the file name you wish
  4. Click anywhere outside the file name to save the changes

Need additional information or assistance? Contact the ITS Service Center.

Details

Article ID: 7255
Created
Mon 2/21/22 10:07 AM
Modified
Fri 7/1/22 10:33 AM