Beispiel einer FTP-Sitzung
Es folgt ein Beispiel für eine typische FTP-Drucksitzung:
System> ftp 192.168.10.1
Connected to 192.168.10.1
220 JD FTP Server Ready
Name (192.168.10.1:root): Deke
331 Username OK, send identity (email name) as password.
Password:
230- Hewlett-Packard J7983G FTP Server Version 1.0
Directory:
---------------------------
PORT1 (default) Print to port 1 (HP LaserJet 4000)
PORT2
PORT3
To print a file use the command: put <filename> [portx]
or 'cd' to desired port and use: put <filename>
Ready to print to PORT1
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257
"/" is current directory. (default port is PORT1: HP
LaserJet 4000)
ftp> cd port1
250 CWD command successful
ftp>pwd
257
"/PORT1" is current directory. (HP LaserJet 4000)
ftp> bin
200 Type set to I
ftp> put test
200 PORT command successful
150 Opening data connection...
226 Transfer complete.
18 bytes sent in 0.00 seconds (37.40 Kbytes/s)
ftp> quit
221 Goodbye
System>
script done on Mon Apr 12 16:50:24 2006
DEWW
Description:
Print to port 2 (HP Color LaserJet 4500)
Print to port 3 (unknown device)
FTP-Druck 59