Skip Navigation
Oklahoma State University
High Performance Computing Center

A unit in the Division of the Vice President for Research

Uploading and Downloading Files

Many people prefer to use a graphical user interface application to transfer files back and forth between Cowboy and their own computers. 
 
For smaller data transfers, we recommend one of the following free and open-source applications. Click the application name to view instructions for it:
 
Large data transfers are recommended to be handled through Globus.
 
                   
                   **If you'd like to use the command-line interface (Mac & Linux only), please see CLI instructions at the end of the page.
 
 
 
 
 
 
 
Smaller transfers

WinSCP (Windows OS)

  • Download the 'Portable executables' from http://winscp.net/eng/download.php. This will be a zip file that contains the file WinSCP.exe. You can place the WinSCP.exe on your desktop, this is the only file you need.
  • To run WinSCP, double-click the WinSCP icon on your desktop. A window like the one below will open:

  • In the 'hostname' box enter the hostname of the hpc system you wish to use. Our newest supercomputer hostname is: cowboy.hpc.okstate.edu
  • In the 'username' box enter your username (or leave it blank and it will prompt you for it later.)
  • Press enter and it will begin connecting, or go to the next step to save this information for future uses.
  • If you would like to save the above information for future use:
    • Click the 'Save' button.
    • Double-click on the session you just saved (or highlight it) and click 'Login' (**NOTE**This is the only step you will need to repeat next time if you Saved the session information as described.)
  • Using WinSCP - you should be greeted with a window similar to the one below. (**NOTE** On the left is your local disk and on the right is your home directory on the hpc system. From here you can drag and drop to copy files in either direction. You may be asked to confirm that you want to copy files.)

 

Cyberduck (Windows and Mac OS)

  • Download Cyberduckhttps://cyberduck.io/
    • ​Make sure to click the "Download" icons below the duck -- the "Start Download" icon to the right of the duck is an ad.
  • ​After downloading and opening the application, you should have a window that looks like this:
    • ​**Note - this is the Mac OS X version - the Windows version may look slightly different

        

  • Click on the 'Open Connection' icon at the top left. In the popup window, you will edit the following:
    • Choose the 'SFTP (SSH File Transfer Protocol​)' option in the drop down menu at the top.
    • For 'Server': cowboy.hpc.okstate.edu
    • Change 'Port' to 22
    • Enter your Cowboy username and password
    • Click 'Connect'
  • ​After connecting, your Cyberduck window should now look like the window below - listing the contents of your home directory: 

          

  • From here you can click on your directories and files in your home directory and navigate the subdirectories in it.
  • To move a file from Cowboy to your local machine, you can drag and drop the file onto, for example, your Desktop or right-click the file or directory to download it onto your local machine.
  • To move a file from your local machine to Cowboy, in Cyberduck, navigate to the Cowboy directory you want the file placed and then drag and drop the file from your local machine into the window.
    • You can also choose the 'Action' drop down menu at the top of the Cyberduck window and choose the 'Upload' option 
 
 
FileZilla (Windows, Linux and Mac OS)
 
  • Download FileZilla: https://filezilla-project.org/
  • Click the ‘Download FileZilla Client All platforms” icon
  • After downloading and opening Filezilla, your window should look like the one at the top of the next page listing the contents of your computer’s directory on the left.
    • This is the Mac OS X version – the Windows or Linux versions may look slightly different):

  • In this window, you will edit the following:
    • For ‘Host’ type cowboy.hpc.okstate.edu
    • Enter your Cowboy username and password
    • Change ‘Port’ to 22
  • Click ‘Quickconnect’
  • After connecting, your FileZilla window should now look like the window below – listing the contents of your computer on the left and the contents of your home directory in Cowboy on the right:
    • From here you can ‘drag and drop’ to copy files in either direction.

 

 
 
Globus (large data transfers)
 
Globus is an online service to facilitate fault tolerant large data transfers. Cowboy is setup as an 'endpoint' with name 'okstate#cowboy1'. To use Globus go here

Globus can be utilized easily by following these steps:

  • Create an account with Globus Online.
  • Verify the account and login to Globus.
  • Find the "Manage Data" drop down menu and click "Transfer Files".
  • You should find yourself on a screen similar to this one:

  • The endpoint for files on Cowboy is:
    • okstate#cowboy1
  • Once both endpoints are entered correctly, clicking one of the arrows will commence file transfer.
  • For more information or to get started, visit [[1]]
 
 
 
Command line interface
 
Linux and Mac OS only
 
To copy a file from Cowboy to your local machine: 
  • Open a terminal on your local machine, navigate to your Desktop (or the folder you want your file to go) and type the following on the command line:
  • scp yourusername@cowboy.hpc.okstate.edu:/directory/yourfilename .
    • For example: ​scp pete@cowboy.hpc.okstate.edu:/scratch/pete/data/examplefile.txt .
      • Be sure to include a space and a period after the filename, like it is highlighted above.
    • You will be prompted to enter your Cowboy account password
    • Once your file is copied from Cowboy to your local machine, in the terminal you'll see the filename and 100% (along with some other information about the file).
    • You can now find the file in the folder you sent it to on your local machine.

To copy a file from your local machine to Cowboy:

  • Open a terminal on your local machine and navigate to the directory where your file is located and type the following on the command line:
  • ​You will be prompted to enter your Cowboy account password.
  • Once your file is copied from your local machine to Cowboy, you'll see the filename and 100% (along with some other information about the file).
  • Log in to Cowboy and navigate to the directory you sent the file to and you will find the file.
 

 


NEED HELP?  hpcc@okstate.edu