! cr macdef proxy send $ delete mdelete sendport status account debug mdir put struct append dir mget pwd sunique ascii disconnect mkdir quit tenex bell form mls quote trace binary get mode recv type bye glob mput remotehelp user case hash nmap rename verbose cd help ntrans reset ? cdup lcd open rmdir close ls prompt runique
Przykład sesji ftp
adam@sun1[5] ftp chemik Connected to chemik.chem.univ.gda.pl. 220 chemik FTP server (SunOS 5.7) ready. Name (chemik:adam): 331 Password required for adam. Password: 230 User adam logged in. ftp> cd czarek 250 CWD command successful. ftp> dir 200 PORT command successful. 150 ASCII data connection for /bin/ls (153.19.29.3,51829) (0 bytes). total 2078 drwxr-xr-x 2 adam staff 512 Nov 5 19:29 . drwxr-xr-x 20 adam staff 5632 Apr 18 09:30 .. -rw-r--r-- 1 adam staff 152083 Nov 5 05:33 l_1.ps 226 ASCII Transfer complete. 375 bytes received in 0.043 seconds (8.49 Kbytes/s) ftp> quit 221 Goodbye. adam@sun1[6]
Przykład pliku .netrc
machine 130.199.144.1 login anonymous password adam@scheraga1.tn.cornell.edu macdef zbiory2 lcd /mnt/liwo/pdbdata cd fullrelease/compressed_files bin cd 1b get pdb21bi.ent.Z quit