xtftp is a terminal server program for use by GNUspool where
the destination is a server which accepts FTP protocol. Data is taken
from standard input, unless overridden by the -i option.
This is the host name or IP address to be used to access the
printer. In GNUspool setup files, it may be appropriate to
substitute $SPOOLDEV or $SPOOLPTR here.
Specifies the sending hostname or IP address to be as given. This may
be required when sending from hosts with multiple IP addresses.
-p port number
This is the port number to be used, if not ftp.
This is the user name to be quoted to the FTP server.
This is the password to be quoted to the FTP server.
This is the output file to be stored at the server end. In some cases
this may designate the actual printer, and it may be useful to use
$SPOOLDEV as the argument to be expanded in GNUspool setup files.
This is the output file to be stored in at the server end, if not the
``home directory''. In some cases this may designate tha actual printer,
and it may be useful to use $SPOOLDEV as the argument to be
expanded in GNUspool setup files.
This gives the timeout in milliseconds to await for responses from the
Specify input file if not standard input.
Specify text mode.
Specify binary mode.
Debug. Displays activities on standard error. Increasing information
is given if more than one -d option is specified.
xtftp generates any appropriate diagnostics on standard error.
Normal termination is denoted by an exit code of zero.
Usage error, invalid option etc.
No host name or ip address given.
Cannot open input file.
Expecting password as well as user name.
Transmit failure - file rejected.
Data accept failed.
Cannot create/bind control socket.
Cannot connect control socket.
Cannot create data socket.
Cannot bind data socket.
Cannot listen data socket.
Cannot get socket name data socket.
Unknown service name
Invalid IP address
Invalid host name
Socket write error.
Socket read error.
No response code from server.
Port or store command failed.
Generated command too long (excessive length file name etc).
Copyright (c) 2009 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of the GNU General Public License
There is NO WARRANTY, to the extent permitted by law.