freebsd-dev/contrib/tnftp
Dimitry Andric deda53cd9b Fix warnings in tnftp about invalid constant conversions, e.g.:
contrib/tnftp/src/ftp.c:2067:11: error: implicit conversion from 'int'
to 'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
        buf[0] = IAC;
               ~ ^~~
/usr/include/arpa/telnet.h:39:13: note: expanded from macro 'IAC'
#define IAC     255             /* interpret as command: */
                ^~~
contrib/tnftp/src/ftp.c:2068:11: error: implicit conversion from 'int'
to 'char' changes value from 244 to -12 [-Werror,-Wconstant-conversion]
        buf[1] = IP;
               ~ ^~
/usr/include/arpa/telnet.h:50:12: note: expanded from macro 'IP'
#define IP      244             /* interrupt process--permanently */
                ^~~

Use an unsigned char buffer instead.

MFC after:	1 week
2016-08-30 20:24:50 +00:00
..
src Fix warnings in tnftp about invalid constant conversions, e.g.: 2016-08-30 20:24:50 +00:00
ChangeLog
COPYING Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
INSTALL
Makefile.am
Makefile.in
NEWS
README
THANKS
tnftp.h
todo

WHAT IS TNFTP?
--------------

`tnftp' is a `port' of the NetBSD FTP client to other systems.
See http://www.NetBSD.org/ for more details about NetBSD.

tnftp was formerly known as `lukemftp'
It was renamed to `tnftp' by Luke Mewburn in February 2003.

The enhancements over the standard ftp client in 4.4BSD (and
derivatives) include:
	* command-line editing within ftp
	* command-line fetching of URLS, including support for:
	    - http proxies (see $http_proxy, $ftp_proxy)
	    - authentication
	* configurable prompt
	* context sensitive command and filename completion
	* dynamic progress bar
	* feature negotiation extensions from RFC 2389
	  (see `feat' and `remopts')
	* extensions to ftp from the IETF ftpext working group
	  (see `mlsd' and `mlst')
	* IPv6 support (from the WIDE project)
	* modification time preservation
	* paging of local and remote files, and of directory listings
	  (see `lpage', `page', `pdir')
	* passive mode support, with fallback to active mode
	* retrieval of filenames listed in a given file (see `fget')
	* `set option' override of ftp environment variables
	* TIS Firewall Toolkit gate ftp proxy support (see `gate')
	* transfer-rate throttling (see `-T', `rate')
	* uploading of files on the command line (see `-u')
	* (Dante) SOCKS5 support

Previous features, currently disabled until a test system is available:
	* SOCKS4 support


INSTALLATION
------------

Refer to `INSTALL' for more information on how to compile and install tnftp.


FEEDBACK / BUG REPORTS
----------------------

Please email feedback back to the maintainer:
	Luke Mewburn <lukem@NetBSD.org>.


COPYRIGHT
---------

tnftp is covered by a BSD-style copyright notice.
Please refer to the file `COPYING' for more information.


AVAILABILITY
------------

The primary ftp site for tnftp is:
	ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/


DOCUMENT REFERENCE
------------------
$NetBSD: README,v 1.10 2007/08/06 01:58:57 lukem Exp $