beautypg.com

F t p – Avery Dennison 9840 Technical Reference Manual User Manual

Page 49

background image

MonarchNet for TCP/IP

1-35

F T P

FTP is a command line program used to transfer files between computers.
FTP provides commands for opening a connection to another computer,
specifying the data type of any transfers, and sending and receiving files.
Monarch print servers support a subset of the FTP command set. This
subset allows the FTP user to open a connection to the print server, specify
a file transfer data type and send print files to a Remote Print Queue Name
on the print server.

Monarch print servers recognize the following FTP commands:

PUT

Print a single file

SEND

reated the same as PUT

MPUT

Print multiple files

TYPE

Changes the representation type used for data transfer.
Image (or binary) and ASCII are the only types supported

ASCII

Equivalent to "TYPE ASCII"

BINARY

Equivalent to "TYPE BINARY"

IMAGE

Equivalent to "TYPE IMAGE"

STRU

Specifies file structure. File is the only structure supported

MODE

Specifies transfer mode. Stream is the only transfer mode
supported.

OPEN

Opens a connection to the remote host

CLOSE

Terminates the FTP session

QUIT

Terminates the FTP session and exits FTP

BYE

Equivalent to QUIT

The PUT command sends the file to the print server. The first parameter of
the PUT is the name of the local file to PUT. The second parameter of the
PUT is the name of the file for the remote host. This second parameter must
be a Remote Print Queue Name. If you do not specify the second parameter,
FTP sets the remote file name to the local file name. This may produce
undesirable printing results.