stefan@ArwenOfRivendell:~ $ ftp releng.netbsd.org
Connected to releng.netbsd.org.
220 releng.netbsd.org FTP server (NetBSD-ftpd 20020214) ready.
Name (releng.netbsd.org:stefan): anonymous
331 Guest login ok, type your name as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||60706|)
150 Opening ASCII mode data connection for '/bin/ls'.
total 16
d--x--x--x 2 0 0 512 May 29 17:42 bin
d--x--x--x 2 0 0 512 Feb 18 20:18 etc
drwxrwx--x 3 0 125 512 May 31 10:39 hidden
drwxrwxr-x 4 0 125 512 Jun 25 17:53 pub
226 Transfer complete.
ftp> help
Commands may be abbreviated. Commands are:
! debug help mode preserve restart system
$ delete idle modtime progress rhelp tenex
account dir image more prompt rmdir throttle
append disconnect lcd mput proxy rstatus trace
ascii edit less msend put runique type
bell epsv4 lpage newer pwd send umask
binary exit lpwd nlist quit sendport unset
bye fget ls nmap quote set usage
case form macdef ntrans rate site user
cd ftp mdelete open rcvbuf size verbose
cdup gate mdir page recv sndbuf xferbuf
chmod get mget passive reget status ?
close glob mkdir pdir rename struct
cr hash mls pls reset sunique
ftp>
Der Befehl help listet die möglichen Kommandos auf und
mit help Befehl kann man
eine Kurzhilfe zum Befehl bekommen.
Wie bereits erwähnt lässt sich ein ftpserver auch per
telnet ansprechen, dies
ist nachfolgend einmal dargestellt
stefan@ArwenOfRivendell:~ $ telnet releng.netbsd.org 21
Trying 166.84.0.12...
Connected to releng.netbsd.org.
Escape character is '^]'.
220 releng.netbsd.org FTP server (NetBSD-ftpd 20020214) ready.
help
214-
The following commands are recognized.
(`-' = not implemented, `+' = supports options)
USER REIN- TYPE ALLO MKD HELP MIC MLST+ MSND-
PASS PORT STRU REST PWD NOOP+ CONF MLSD MSOM-
ACCT- LPRT MODE RNFR LIST AUTH ENC MAIL- XCUP
CWD EPRT RETR RNTO NLST ADAT FEAT MLFL- XCWD
CDUP PASV STOR ABOR SITE PROT OPTS MRCP- XMKD
SMNT- LPSV STOU DELE SYST PBSZ MDTM MRSQ- XPWD
QUIT EPSV APPE RMD STAT CCC SIZE MSAM- XRMD
214 Direct comments to ftp-bugs@releng.netbsd.org.