C:¥>ftp www.ons.ne.jp
Connected to www.ons.ne.jp.
220 alive.ons.ne.jp FTP server (Version wu-2.4(3) Fri Jun 14 03:15:26 PDT 1996)
ready.
Name (www.ons.ne.jp:(none)): ons
331 Password required for ons.
Password:
230 User ons logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 4
drwxr-xr-x 2 1000 1000 512 Oct 20 10:55 bin
drwxr-xr-x 2 1000 1000 512 Oct 25 15:12 public_html
226 Transfer complete.
ftp> cd public_html
250 CWD command successful.
ftp> put
(local-file) c:¥html¥index.html
(remote-file) index.html
local: c:¥html¥index.html remote: index.html
200 PORT command successful.
150 Opening BINARY mode data connection for index.html.
226 Transfer complete.
262 bytes sent in 0.01 seconds (179.17 Kbytes/s)
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
total 3
-rw-r--r-- 1 1000 1000 262 Nov 23 05:37 index.html
-rw-r--r-- 1 1000 1000 2347 Nov 23 04:38 link.html
-rw-r--r-- 1 1000 1000 1374 Oct 23 08:54 profile.html
226 Transfer complete.
ftp> quit
221 Goodbye.
C:¥>