Ejemplo de una sesión FTP
Lo que sigue es un ejemplo de una típica sesión de impresión
mediante FTP:
C:\> ftp 192.168.45.39
Connected to 192.168.45.39.
220 JD FTP Server Ready
User <192.168.45.39:<none>>: susan_g
001 Username Ok, send identity <email address> as password
Password:
230- Hewlett-Packard FTP Print Server Version 2.0
Directory:
-----------------------------------------------------
PORT1
To print a file, use the command: put <filename> [portx]
or cd to a desired port and use: put <filename>.
Ready to print to PORT1
230 User logged in.
ftp> pwd
257 "/" is current directory. <"default port is : /PORT1>
HP Color LaserJet 4500"
ftp> cd port1
250 Changed directory to "/PORT1"
ftp> pwd
257 "/PORT1" is current directory. "HP Color LaserJet 4500"
ftp> bin
200 Type set to I. Using binary mode to transfer files.
ftp> put d:\atlas\temp\ftp_test.ps
200 PORT command successful.
150 Opening BINARY mode data connection
226- Ready
226- Processing job
226 Transfer complete
31534 bytes sent in 0.04 seconds <788.35 Kbytes/sec>
ftp> quit
221 Goodbye
C:\>
ESWW
Description:
Print to port 1 HP color LaserJet 4500
Impresión mediante FTP 183