summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
Commit message (Collapse)AuthorAgeFilesLines
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Obey MK_INET6_SUPPORT.yar2006-07-271-1/+7
|
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Restore INET6 option from config.h.mikeh2003-06-251-1/+1
| | | | Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Update for latest lukemftp import.mikeh2003-06-161-2/+2
|
* Update for lukemftp-1.6-beta2.mikeh2002-06-151-1/+16
|
* Connect lukemftp to the build as the default ftp client. Lukemftpmikeh2001-12-1314-9453/+6
| | | | | supports most of the previous features of FreeBSD ftp, but has been better maintained and includes new features.
* Make completion work with filenames containing spaces.iedowse2001-11-181-2/+7
| | | | | | PR: bin/23526 Submitted by: root@yoda.fwe.pi.musin.de MFC after: 1 week
* Adjust to the libedit enhancements some functions now take more parameters.obrien2001-10-013-3/+5
| | | | Partially submitted by: kris
* strtol -> strtoll (for off_t file size)ache2001-09-011-1/+1
|
* File positions are off_t nowdays, not long, so:ache2001-09-011-5/+5
| | | | | | | | | | long -> off_t fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long.
* Revert the previous delta and apply a better fix which correctsmike2001-08-301-9/+5
| | | | | | a check on the final snprintf and reduces duplicated code. Submitted by: brian
* Remove whitespace at end of line I happened to find during my last edit.alex2001-08-301-2/+2
|
* Add support for proper URI encoding, using strvisx(3)'s VIS_HTTPSTYLE.alex2001-08-301-3/+10
| | | | | Requests through a proxy are still broken for URIs that contain blanks, since this required a bigger rewrite of the whole function.
* Add support for HTTP/1.1 name-based virtual hosts. Also, usemike2001-08-301-7/+12
| | | | | | | | | | asprintf(3) when creating the request string, as the length of a path is defined as unlimited by the standard and limiting the total request to 4K is awfully arbitrary. PR: 30054 Submitted by: Joseph Mallett <jmallett@xMach.org> MFC after: 8 days
* o Fix some checks on snprintf(3) to prevent miscalculations.mike2001-08-291-4/+8
| | | | | | o This fixes a memory leak that can occur on some URL's. Pointy hat to: brian
* Fix my previous snprintf() patches (which were largely no-ops).brian2001-08-232-9/+11
| | | | Mostly submitted by: bde
* Display a better error message when snprintf() returns < 0brian2001-08-211-1/+5
| | | | Pointed out by: bde
* Handle overflows from snprintf(), not just returns of < 0brian2001-08-211-5/+5
| | | | Pointed out by: bde
* Handle snprintf() returning -1.brian2001-08-202-13/+27
| | | | MFC after: 2 weeks
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-138-8/+0
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-101-2/+2
| | | | with a trailing zero-width space: `e.g.\&'.
* Fix using /usr/bin/ftp as a slave process on the end of a pipe by callingjon2001-08-052-3/+3
| | | | | | | fflush(stdout). This is one ancient PR... PR: bin/1589 Submitted by: imp
* Portability configuation for LukeM's ftp client.obrien2001-07-191-0/+270
|
* Remove whitespace at EOL.dd2001-07-151-8/+8
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Correct small typo on debug message.dcs2001-06-221-1/+1
| | | | | | PR: bin/28337 Submitted by: Koga Youichirou <y-koga@jp.freebsd.org> MFC after: 1 week
* Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to tobde2001-04-041-5/+7
| | | | | | | | | | | | move the "for safety" zeroing of unused members of timebuf to a better place. It actually moved the zeroing to a worse place and didn't add necessary braces. Fixed a nearby older bug. timebuf.tm_gmtoff was sometimes used even when timebuf was invalid. Even when it is zeroed, a failing mktime() might set it to nonzero. PR: 25243
* Prepare for mdoc(7)NG.ru2000-12-191-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-7/+7
|
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
| | | | <time.h>).
* Do not call freeaddrinfo(res0) twice.ru2000-09-251-0/+1
| | | | PR: bin/21476
* optarg and optind are declared in unistd.h.imp2000-09-041-2/+0
| | | | h_error is declared in netdb.h
* "ls" is note the same as "nlist", but it is the same as "dir". Correctben2000-07-121-18/+30
| | | | | | | | this, and add a bit to the descriptions of "dir" and "nlist" to emphasize the difference. PR: 15408 Submitted by: Joe Smith <inwap@best.com>
* - Reflect `gateport' variable type change.ru2000-06-245-12/+16
| | | | | | | | - Make it compile with -Wall. PR: 18619 Submitted by: David Malone <dwmalone@maths.tcd.ie> Reviewed by: ru
* Get rid of segfault in a `site %s' case.ru2000-06-231-1/+1
| | | | Submitted by: Max Khon <fjoe@iclub.nsu.ru>
* Fix obvious cut-n-paste error.se2000-06-201-1/+1
| | | | Submitted by: Thomas Ludwig <tludwig@urbanet.ch>
* Make sure to use native IPv4 addrerss even if getaddrinfo()ume2000-06-143-0/+37
| | | | | | returns IPv4 mapped IPv6 address. FTP is nervous about address family. Submitted by itojun and slightly modified to fit our ftp(1).
* Mention about -4 and -6 options.ume2000-06-121-1/+9
|
* Don't pass scope-id to EPRT command.ume2000-05-251-1/+1
| | | | Reviewed by: sumikawa
* Replace isurl() with isipv6addr().ume2000-05-223-1/+32
| | | | | Reported by: Koji Kondo <koji@jp.above.net> Obtained from: NetBSD
* Remove addition of -g to CFLAGScpiazza2000-05-161-1/+1
|
* Fix whitepace in the arguments of two Xr macros.sheldonh2000-03-101-2/+2
|
* ftp(1)'s default pager is "more", not "less", as documented.nik2000-03-071-1/+1
| | | | | PR: docs/17099 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Previous fix was incomplete and has problem in reverse lookup failed dest,shin2000-02-281-3/+2
| | | | | | | | so fix it. Approved by: jkh Submitted by: Ian West <ian@niw.com.au>
* Correctly print out "Connected to" hostname.shin2000-02-241-4/+3
| | | | | | | Temporal buffer was used for the hostname and freed before actually used. Specified by: ru Approved by: jkh
* Fix several problems with EPSV (verbosity, one-per-session, missing place)ache2000-02-213-6/+14
| | | | Approved by: jkh
* Removed bogus line.shin2000-02-191-1/+0
| | | | | Specified by: ache Approved by: jkh
* Don't try EPSV once it failed.shin2000-02-181-5/+12
| | | | | Specified by: Andrey A. Chernov" <ache@nagual.pp.ru> Approved by: jkh
* Add -4 and -6 options.shin2000-02-154-5/+16
| | | | | | | | | Current getaddrinfo() implemetation has a problem of too much resolving waiting time on INET6 enabled systems. -4 and -6 options can limit name resolving address family and is a possible workaround for the problem. Approved by: jkh
OpenPOWER on IntegriCloud