server supports up to four simultaneous control connections (or FTP sessions). If the number is exceeded, a service not available message is displayed.

FTP control connections use TCP port 21.

Data connection

A data connection is created each time a file is transferred between the client and the FTP server. The client controls the creation of a data connection by issuing the commands that require a data connection (such as FTP ls, dir or put commands).

Although the ls and dir commands are always accepted, the HP Jetdirect FTP server supports a single data connection for printing.

The transmission mode for an FTP data connection with the HP Jetdirect print server is always in stream mode, which marks the end-of-file by closing the data connection.

Once a data connection is established, the file transfer type (ASCII or binary) is specified. Clients attempt to auto-negotiate a transfer type. The default transfer type depends on the client system. For example, UNIX might default to binary. To specify the transfer type, enter the bin or ascii command at the FTP prompt.

FTP login

To start an FTP session, enter the following command from an MS-DOS or UNIX command prompt: ftp <ipaddress>

In the example, <ipaddress> is the valid IP address or node name configured for the HP Jetdirect print server.

Figure B-1FTP Login Example

If the connection succeeds, a Ready message is displayed.

You are then prompted for a login name and password. The default is the client's login name. The HP Jetdirect FTP server allows any user name, and passwords are ignored.

176 Appendix B FTP printing

ENWW