Data connection
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.