IFBD-HW03/04 Product Specifications Rev. 0.00
Specify whether to issue put after issuing the cd command and transferring to the transfer destination
directory, or the transfer destination directory to the transfer destination filename of put.
Example 1: Specifying the transfer destination directory name for output
ftp>put testfile /lp
* Specify transfer destination when using put
200 PORT command Ok.
150 Open data connection
226 Data connection closed
7801 byte sent in....
Example 2: Changing the current directory for output
ftp>cd /lp
250 Command Ok.
ftp>put testfile
* Use put after specifying the transfer destination using cd.
200 PORT command Ok.
150 Open data connection
226 Data connection closed
7801 byte sent in....
The FTP
NLST
(ls) command and
LIST
(dir) command response formats are compatible with UNIX,
considering supporting FTP clients using GUI.
Ex.:
ftp> dir /
200 PORT command Ok.
150 Open data connection.
total 0
d-w--w--w- 1 nobody nobody 0 Jan 1 1970 lp
dr--r--r-- 1 nobody nobody 0 Jan 1 1970 config
dr--r--r-- 1 nobody nobody 0 Jan 1 1970 flash
226 Data connection closed.
ftp: 190 bytes received in 0.17Seconds 1.11Kbytes/sec.
It is not possible to check the status using
NLST/LIST
with this product. However, as a substitute
means, it is possible to check the status using the
STAT
command. The printer status is returned by
provided the directory name (printer name) as an argument. The status of the FTP server is
returned if STAT is issued without applying an argument.
However, the STAT command is not a standard FTP command.
Normally, it is possible to issue a STAT by using the
QUOTE
command on command line type FTP
clients.
Example 1: (When Printer Status is Normal)
ftp / > quote stat lp
FTP directory status:
Ready
End of status
.
Example 2: (When Printer Cover is Open)
ftp / > quote stat lp
FTP directory status:
Not Ready
Printer Cover Open
Receipt Paper End
End of status.
3-11