Figure 2: A sample FTP session
bjorn: ftp ftp.waseda.ac.jp
Connected to ftp.waseda.ac.jp.
220 rabbit FTP server (Version 4.319 Wed Jul 15 20:58:16 JST 1992) ready.
Name (ftp.waseda.ac.jp:bjorn): ftp
331 Anonymous login ok, use your E-MAIL address as the password.
Password:
230-Hi, ``bjorn@sysadmin.com''.
230-You are anonymous ftp user 3, maximum of 8 allowed.
230-
230-Thanks.
230 Guest login ok, access restrictions apply.
ftp> cd pub/security
250 CWD command successful.
ftp> ls -C
200 PORT command successful.
150 Opening data connection for /bin/ls (ascii mode) (0 bytes).
00README crack npasswd passwd+ sun-dist
cops doc othertools patch wordlists
226 Transfer complete.
remote: -C
91 bytes received in 0.011 seconds (8.1 Kbytes/s)
ftp> binary
200 Type set to I.
ftp> cd passwd+
250 CWD command successful.
ftp> ls -C
200 PORT command successful.
150 Opening data connection for /bin/ls (ascii mode) (0 bytes).
passwd+.tar.Z
226 Transfer complete.
ftp> ls -C
remote: -C
15 bytes received in 0.044 seconds (0.33 Kbytes/s)
ftp> get passwd+.tar.Z
200 PORT command successful.
150 Opening data connection for passwd+.tar.Z (binary mode) (64435 bytes).
226 Transfer complete.
local: passwd+.tar.Z remote: passwd+.tar.Z
64435 bytes received in 12 seconds (5.4 Kbytes/s)
ftp> bye
221 Goodbye.
|