Skip to main content
University of North Dakota
University of North Dakota
    • Admitted Students
    • Current Students
    • Families of Current Students
    • Faculty & Staff
    • Alumni
    • Email
    • Blackboard
    • Campus Connection
    • Employee Self-Service (HRMS)
    • Starfish
    • Degree Map
    • Zoom
  • Directory
  • Academics
  • Admissions
  • Student Life
  • Research
  • Athletics
  • Majors & Programs
  • About
University of North Dakota
  • Academics
  • Admissions
  • Student Life
  • Research
  • Athletics
  • Majors & Programs
  • About
  • Request Info
  • Visit
  • Apply
  • Request Info
  • Visit
  • Apply
  • Home
  • Research
  • Computational Research Center
  • Tutorials
  • How to Use SFTP
Skip Section Navigation
  • Computational Research Center
  • HPC Cluster and AI & VR Lab Show/hide children
    • Talon - High Performance Computing Cluster
    • Artificial Intelligence & Virtual Reality Lab
  • Tutorials
  • Collaboration & Outreach
  • Support Show/hide children
    • Account Request
    • Support Ticket
    • Windows Software
  • Research Support

How to Use SFTP

This will walk you through the basics of using SFTP to transfer files between your local computer and the cluster computers.

Windows - WinSCP

Logging in with WinSCP

When you first open WinSCP the login window should appear.

login1

To login, enter the server hostname (ex. hodor.und.edu) and your IDM login.

login2

Transferring files with WinSCP

After you log in, you will be presented with the main screen. On the left is your local machine and the server you have connected to is on the right.

main transfer

To download a file from the server to your computer

  1. Navigate to the file on the server using the file browser on the right side
  2. Navigate to the location you want to download the file to on your local computer using the file browser on the left
  3. initiate the transfer using one of the following methods
    • Click on the file and then click download up on the top bar
      • This will bring up a new window that will allow you to adjust some settings
      • once you have everything how you want it click ok to start the download
      • download transfer
    • Double click on the file to automatically start the transfer
    • Drag the file from the left side to the right side. This will automatically start the transfer

Uploading files from your computer to the server is the same process. The only difference is that you would click upload above the local file browser or move the files from left to right.

MacOS and Linux - Command Line

Logging in with the command line

Open Terminal and enter the following command: sftp first.last@hostname

Logging into hodor, it would look like this:

  • sftp john.doe@hodor.und.edu

It will then ask for your password. Once you enter it the sftp prompt should be displayed:

  • sftp>

Transferring files with the command line

At the sftp> prompt, use the cd command to change to the directory of the file you want to transfer.

Use lcd local/download/path to set the directory where you want the file to go on your local machine.

Once you are in the directory where your file is located, you can type:

  • get filename

this will download the remote file to your machine.

If you want to upload a file, use:

  • put local/path/to/file remote/path

Type quit to exit the sftp> prompt.

Some commands

  • cd - Change remote directory
  • lcd - Change local directory
  • get filename - Download filename to local machine
  • mkdir dirname - Make new directory on remote machine
  • lmkdir dirname - Make directory on local machine
  • put /path/to/local/file/file.exe /remote/path - Upload file to the designated path
  • pwd - Print the remote working directory
  • lpwd - Print the local working directory
  • rename /path/file.exe /path/file2.exe - Change file name on remote machine
  • rm - Remove remote directory
  • bye, exit, quit - Quit SFTP.
Computational Research Center
Chester Fritz Library Room 334
3051 University Ave Stop 8399
Grand Forks, ND 58202-8399
P 701.777.6514
und.hpc.support@UND.edu

Hours

Mon.-Fri.: 9 a.m. - 5 p.m.

    We use cookies on this site to enhance your user experience.

    By clicking any link on this page you are giving your consent for us to set cookies, Privacy Information.

    Ready to Enroll?

    • Request Information
    • Schedule a Visit
    • Apply Now
    • UND.info@UND.edu
    • 701.777.3000
    • YouTube
    • Instagram
    • Facebook
    • TikTok
    • Twitter
    • LinkedIn
    • Contact UND
    • Campus Map
    • Events Calendar
    • Diversity & Inclusion
    • Explore Programs
    • Employment
    • Make a Gift
    University of North Dakota

    © 2023 University of North Dakota - Grand Forks, ND - Member of ND University System

    • Accessibility & Website Feedback
    • Terms of Use & Privacy
    • Notice of Nondiscrimination
    • Student Disclosure Information
    • Title IX
    ©