Command Line (Linux, Mac OS)
- Bring up a command prompt
- On MacOS - use the Terminal application in Applications - Utilities
- On CNF Thin - use XTerm in Applications - CNF Applications
Type in:
sftp remote_username@remote_host
substituting in your username on the remote computer and the hostname of the remote computer in the above command, as appropriate.
For connecting to the CNF AWS cloud, use a slightly modified version of the above sftp command:sftp -o "IdentityFile=/path/to/keyfile.pem" username@ip_address
- You will get an sftp> prompt on the remote computer.
- Use standard UNIX file and directory commands to change directories, create directories, and create folders.
- Precede the command with an exclamation mark and a space to execute the command on the local computer filesystem instead of the remote computer filesystem.
Command | Description |
---|---|
pwd | Show current directory on the remote computer |
! pwd | Show current directory on the local computer |
cd dirname | Change directory to a subfolder named dirname on the remote computer |
! cd dirname | Change directory to a subfolder name dirname on the local computer |
cd .. | Go up a directory on the remote computer |
! cd .. | Go up a directory on the local computer |
mkdir dirname | Make a new subfolder named dirname on the remote computer |
! mkdir dirname | Make a new subfolder name dirname on the local computer |
get filename | Copy filename from the remote computer to the local computer |
put filename | Copy filename from the local computer to the remote computer |
rm filename | Delete filename from the remote computer |
Fetch (Mac OS X)
Fetch is an excellent GUI file transfer program for Macintosh. IT@Cornell maintains a site license for use by Cornell faculty, staff, and students.
Please see the IT@Cornell "Transfer Files Using Fetch" webpage for instructions on how to use Fetch to transfer files via FTP, FTPS, or SFTP.
FileZilla (Windows, Mac, Linux)
FileZilla is a GUI file transfer client supporting FTP, FTPS, and SFTP and can be downloaded from the FileZilla Project website.
Please see the IT@Cornell "Transfer Files Using FileZilla" webpage for instructions on using FileZilla.
WinSCP (CNF Windows)
WinSCP is a gui SFTP client installed on the CNF CAD and Cleanroom general use Windows computers. For your own system, For your own Windows system, WinSCP can be downloaded from the WinSCP web site.
Please see the WinSCP website documentation pages for instructions on using WinSCP.