next up previous
Next: Logowanie się na anonimowe Up: wyklad8 Previous: Przykład okienkowej nakładki na

Przykład anonimowej sesji ftp

adam@sun1[9] ftp ftp.task.gda.pl
Connected to korweta.task.gda.pl.
220 Server (TASK ftp server (local)) [korweta.task.gda.pl]
Name (ftp.task.gda.pl:adam): anonymous
331 Anonymous login ok, send your complete e-mail address as password.
Password:
230-
        _/_/_/      _/       _/_/_/_/_/_/  _//        _/_/_/     _/   _/
     _/      _/    _/            _/       _/_/     _/      _/   _/  _/
    _/            _/            _/       _/ _/    _/           _/ _/
   _/            _/            _/       _/  _/     _/_/_/     _/_/
  _/            _/            _/       _/   _/          _/   _/  _/
  _/      _/   _/            _/       _/_/_/_/  _/     _/   _/    _/
   _/_/_/     _/            _/       _/     _/   _/_/_/    _/      _/
 
 Hello UNKNOWN at sun1.chem.univ.gda.pl.
 This machine is located at the Computer Center in Gdansk (Poland).
 All transfers are logged with your host name and email address.
 If you don't like this policy, disconnect now!
 Please email suggestions and questions to ftpadmin@task.gda.pl.
 
230 Anonymous access granted, restrictions apply.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
lrwxrwxrwx   1 root     other          33 Oct 18 14:16 debian -> mirror/ftp.debian.org/pub/debian/
-rw-r--r--   1 ftpadmin admser   82125989 Nov 27 06:42 ls-lR
-rw-r--r--   1 ftpadmin admser   10810573 Nov 27 06:43 ls-lR.gz
drwxr-xr-x  81 ftpadmin admser       6144 Nov 21 12:28 mirror
drwxr-xr-x  16 ftpadmin admser        512 May  4  2000 pub
drwxr-xr-x   2 ftpadmin admser       3584 Oct  2 11:36 site
drwxr-xr-x  10 ftpadmin admser        512 Nov 15 11:31 vol
226 Transfer complete.
471 bytes received in 0.024 seconds (19.19 Kbytes/s)
ftp> pwd
257 "/" is current directory.
ftp> lcd .
Local directory now /chemik/adam
ftp> cd pub
250 CWD command successful.
ftp> pwd
257 "/pub" is current directory.
ftp> lcd ..
Local directory now /chemik
ftp> quit
221 Goodbye.
adam@sun1[10]

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
-r--r--r--   1 ftpadmin admser     322918 Nov 18  1997 bzip2-0.1.tar.gz
-r--r--r--   1 ftpadmin admser     461636 Mar 28  1996 gettext-0.10.10.tar.gz
-r--r--r--   1 ftpadmin admser     466988 Apr  2  1996 gettext-0.10.11.tar.gz
-r--r--r--   1 ftpadmin admser     475187 Apr  5  1996 gettext-0.10.12.tar.gz
-r--r--r--   1 ftpadmin admser     491868 Jun  3  1996 gettext-0.10.13.tar.gz
-r--r--r--   1 ftpadmin admser     495416 Jun  4  1996 gettext-0.10.14.tar.gz
-r--r--r--   1 ftpadmin admser     498762 Jun  5  1996 gettext-0.10.15.tar.gz
-r--r--r--   1 ftpadmin admser     500799 Jun  6  1996 gettext-0.10.16.tar.gz
-r--r--r--   1 ftpadmin admser     511115 Jun 13  1996 gettext-0.10.18.tar.gz
-r--r--r--   1 ftpadmin admser     511385 Jun 14  1996 gettext-0.10.19.tar.gz
-r--r--r--   1 ftpadmin admser     432627 Dec 29  1995 gettext-0.10.2.tar.gz
226 Transfer complete.
ftp> bin
200 Type set to I.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> get bzip2-0.1.tar.gz
local: bzip2-0.1.tar.gz remote: bzip2-0.1.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for bzip2-0.1.tar.gz (322918 bytes).
###############################################################################
###############################################################################
###############################################################################
##############################################################################
226 Transfer complete.
322918 bytes received in 3.67 secs (86 Kbytes/sec)
ftp> hash
Hash mark printing off.
ftp> mget *.gz
mget bzip2-0.1.tar.gz? y
200 PORT command successful.
150 Opening BINARY mode data connection for bzip2-0.1.tar.gz (322918 bytes).
226 Transfer complete.
322918 bytes received in 0.177 secs (1.8e+03 Kbytes/sec)
mget gettext-0.10.10.tar.gz? n
mget gettext-0.10.23.tar.gz? 
Continue with mget? n
ftp>


Adam Liwo 2002-03-07