Uploading and Downloading Files from Pete
File Transfers with Graphical User Interfaces
- File Transfers with WinSCP
Download the WinSCP installer from WinSCP-Download.
- Once downloaded run the WinSCP-#.#.#.Setup.exe
- When finished the installer should place a "WinSCP.exe" icon on your desktop.
- To run WinSCP, double-click the "WinSCP.exe" icon, and a window like the one below will open.
- In the "Host name" box enter 'pete.hpc.okstate.edu', and for the "Port number" box enter '22'.
- In the "User name" and "Password" boxes you will enter your Pete user name and password.
- If you would like to save the above information for future use:
- Click the "Save" button underneath the "User name" box.
- Double-click on the session you just saved and click "Login" - this is all you have to do in the future to connect to Pete.
- If you choose not to save the session information, click "Login" to connect to Pete.
- Once you are connected, you should be greeted with a window similar to the one below.
- The left side of the screen is your local working directory (i.e. your current working
directory on your
computer), and the right side of the screen is the current working directory on Pete. - ‘drag and drop’ to copy files from Pete to your local computer, or from your computer
to Pete.
- You may be asked to confirm that you want to copy files.
- Once downloaded run the WinSCP-#.#.#.Setup.exe
- File Transfers with CyberDuck
First you’ll need to download Cyberduck from here: CyberDuck-Download
- Click the ”Download” icons below the duck.
- After downloading and opening Cyberduck, you should have a window that looks like this:
- Click on the ‘Open Connection’ icon at the top left. In the popup window (ee image),
do the following:
- Choose the SFTP (SSH File Transfer Protocol)’ option in the drop down menu at the top
- For ‘Server’: ’pete.hpc.okstate.edu’
- Change ‘Port’ to '22'
- Enter your Pete username and password
- Click ‘Connect’
- After connecting, your Cyberduck window should now look like the window below – listing the contents of your home directory on Pete. You can ‘drag and drop’ files on Pete from this window onto your Desktop and vice versa.
- File Transfers with FileZilla
First you’ll need to download FileZilla from: FileZilla-Download
- Click the ”Download FileZilla Client All platforms” icon.
- After downloading and opening Filezilla, your window should look like the image below
listing the contents of your computer’s directory on the left.
- This is the Windows version – the Mac OS or Linux versions may look slightly different.
- In this window, edit the following:
- For ‘Host’ type ’pete.hpc.okstate.edu ’
- It should automatically change to sftp://pete.hpc.okstate.edu
- Enter your Pete username and password
- Change ‘Port’ to ’22’
- Click ‘Quickconnect’
- For ‘Host’ type ’pete.hpc.okstate.edu ’
- After connecting, your FileZilla window should now look like the image below – listing
the contents of your computer on the left and the contents of your Pete home directory
on the right:
- ‘Drag and drop’ to copy files from your local computer to Pete, and from Pete to your local computer.
- File Transfers with Globus
To use Globus first you'll need to setup an acccount at Globus.org.
To create your account follow these steps:
- Click ”Login” at the top of the screen.
- Select ”Oklahoma State University System” from the dropdown menu.
- This will take you to the familiar Oklahoma State University login screen.
- Login with your OKEY credentials.
- One the next screen you will need to select what you account is used for and read through the ”Terms of Service” and ”Privacy Policy”.
- Once you have completed your account creation,or login authentication, you can connect
to Pete by clicking on the empty ”Collection” bar.
- You will enter in the blank area ”okstate#pete”.
- You will then need to login in with your Pete username and password.
To connect Globus to your personal computer do the following:
- Click on the empty ”Collection” bar.
- Select ”More Options”.
- Then click ”Install Globus Connect Personal”.
- The Windows installer link will be visible
- For the Mac and Linux installer links click ”Show me other supported operating systems”
For more information visit Globus-Get-Started
File Transfers with Command Line Interfaces
- Moving files from Pete to your computer
- Open a terminal on your local machine, navigate to the directory you want the file
to go, and type the following on the command line:
- ’scp yourusername@pete.hpc.okstate.edu: directory-where-your-file-is-stored/yourfilename’.
- For example: ’scp osuuser@pete.hpc.okstate.edu:/scratch/osuuser/data/examplefile.txt’.
- You will be prompted to enter your Pete account password.
- Once your file is copied from Pete to your local machine, in the terminal, you’ll see the filename and 100%.
- You can now find the file in the folder you sent it to on your local machine.
- Open a terminal on your local machine, navigate to the directory you want the file
to go, and type the following on the command line:
- Moving files from your computer to Pete
- Open a terminal on your local machine, log in to Pete and navigate to the directory where your file is located.
- Once there, type the following on the command line:
- ’scp localfilename yourusername@pete.hpc.okstate.edu:/directory/’
- For example: ’scp examplefile.txt osuuser@pete.hpc.okstate.edu:/scratch/osuuser/data/’
- You will be prompted to enter your Pete account password.
- When the file transfer completes you will see some connection information, and if the transfer was successful the progress should display 100%.
- Login to Pete and navigate to the directory that you uploaded the file to and type ‘ls‘ to ensure the transfer was successful.