FTP stand for File Transfer Protocol. It is a method of retrieving and sending files across the internet. It can only send and receive files. You can not open or edit the files remotely.
Plaintext FTP sends your files and password(s) across the internet in plain text so anyone watching can steal your private information. sslFTP is an alternative which sends files through ftp over a secure ssl tunnel. We no longer support either of these two options.
Instead, we recommend and support sFTP (secure FTP over an ssh tunnel).
Accessing Files on Unix Accounts
Files on a Unix account can be accessed by connecting to any Unix lab machine using sFTP.
The Unix command is sftp for secure file transfer. This command is in /usr/bin.
CS students have access to sftp://chandra.cs.pdx.edu/ and ECE students have access to sftp://nemo.ece.pdx.edu/. Some graphical sFTP clients require you to specify a port number. You can use 22.
If you wish to log in using public key authentication, place your public key in ~/.ssh/authorized_keys2 (~ is your home directory).
Accessing Files on Linux Accounts
Files on a Linux account can be accessed by connecting to any Linux lab machine using sftp. When in doubt, use sftp://linuxlab.cs.pdx.edu/. Some FTP clients require you to specify a port number. You can use 22.
If you wish to log in using public key authentication, place your public key in ~/.ssh/authorized_keys2 (~ is your home directory).
Accessing Files on Windows Accounts
Files on the N: drive on a Windows account can be accessed via sFTP. Connect to sftp://winhome.cecs.pdx.edu and enter your Windows username and password when prompted. Some clients require you to specify a port number. You can use 22. When you successfully log in to winhome.cecs.pdx.edu, you will be placed in your home directory (N:).
Note: You cannot access other home directories through sFTP. Windows does not support anonymous FTP.
For information about public key authentication, please contact the CAT.
The host key fingerprint of winhome.cecs.pdx.edu is: 4c:32:07:5a:35:02:37:02:75:89:2f:18:c7:d4:73:ac.
Graphical FTP Clients
WinSCP: A popular and free sFTP client for Windows, available from http://winscp.sourceforge.net/.
Tunnelier: An ssh and sFTP client for Windows, free for personal use. It can be downloaded from http://www.bitvise.com/tunnelier.html.
FileZilla: An FTP and sFTP client for Windows, Mac, Unix, and Linux. The wiki at http://wiki.filezilla-project.org/Client_Installation contains information on installing for each operating system.
Cyberduck: A popular and free open-source client for Mac and Windows that supports sFTP. For more information, see http://cyberduck.ch/.
There are other popular FTP programs which support plaintext FTP and sslFTP but may not be free and may not support sFTP. Contact the CAT if you have questions about choosing an appropriate sFTP client.
Internet File Transfer Protocol (FTP) Shell Guide
Most of these commands apply to both FTP and sFTP. To start sFTP from the command line type:
201 systemname.domain.pdx.edu> sftp hostname
where hostname is the name or IP address of the remote machine. If the machine exists and accepts the connection, you will be prompted for a user name and password. If you give a valid user name and password, you will be connected to your home directory. If you give the user name anonymous, you will be connected to the directory tree set up for exchanging information with anonymous users.
FTP commands:
| ls |
list the contents of a directory |
| ls -la |
list the contents of a directory (expanded information) |
| dir |
list the contents of a directory (expanded information) |
| cd |
change directories |
| get |
copy a single file from the remote host |
| mget |
copy multiple files from the remote host |
| put |
copy a single file to the remote host |
| mput |
copy multiple files to the remote host |
| close |
disconnect from the current host |
| open hostname |
connect to a different host |
| quit |
exit the ftp program |
|