summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-22Use the service name to getaddrinfo() (along with the host name), so thatlukem
2007-12-05DPRINTF() consistency tweakslukem
2007-08-22Cast the field precision calculation to int.lukem
2007-08-22Improve parsing of chunked transfer chunks per RFC2616:lukem
2007-06-05Enforce restriction that (http) proxied URL fetchs don't supportlukem
2007-05-24Display times in RFC2822 form rather than using ctime(3), sincelukem
2007-05-22* main: call tzset() to ensure TZ is setup for other <time.h> functions.lukem
2007-05-15* Modify parse_url() to consistently strip the leading `/' off ftp URLs.lukem
2007-05-10Switch from fparseln() to the internal getline() when parsing HTTP headers.lukem
2007-04-17* Implement -s srcaddr; uses srcaddr as the local IP address for alllukem
2007-04-11getpass() can return NULL upon error in some implementationslukem
2006-12-13gcc4 does not care about &foo; use volatile instead. From Anon Ymouschristos
2006-11-25spell precede; from Zaferchristos
2006-09-22PR/34540: b1ff at fr33 dot b33r dot net: bogus free() in ftp(1)elad
2006-07-26If a file upload (via -u) fails, return an non-zero exit value based on thelukem
2006-04-28Coverity CID 2194: Don't forget to free port.christos
2006-04-28Coverity CID 2195: Free path in all code paths, not some.christos
2006-01-31rename debug to ftp_debug. grr libssh.christos
2006-01-31Rename xfoo() to ftp_foo() to avoid collisions with libssh. Don't ask.christos
2006-01-02recognize 307 redirect code.christos
2005-08-21Don't clear the trailing character on the auth_url() username;lukem
2005-06-29Add NO_USAGE and NO_DEBUG so that we can fit in the floppies again.christos
2005-06-10Implement:lukem
2005-06-01* Only print the "Trying <address>..." message if verbose andlukem
2005-05-29* fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiplelukem
2005-05-19Use size_t instead of int where appropriate.lukem
2005-05-14Fix some cast issues highlighted by Scott Reynolds using gcc 4 on OSX.4lukem
2005-04-11gratuitous whitespace cleanup (before someone else jumps the gun...)lukem
2005-04-10In fetch_url(), don't call freeaddrinfo(res0) too early, as we use pointerslukem
2005-01-12Fix ftp url reget when globs are being used.lukem
2004-12-10* Always decode %xx in a url's user & pass components.lukem
2004-10-30Add (unsigned char) cast to ctype functionsdsl
2004-08-08Don't base64 encode the trailing NUL in the HTTP basic auth response.lukem
2004-07-21Slightly rework SIGINT handling; if we're exiting the auto-fetch stufflukem
2004-07-20Improve parsing of HTTP response headers to be more RFC2616 compliant, andlukem
2004-07-20Don't unnecessarily display a 401/407 error when running with -V.lukem
2004-07-20If an ftp auto-fetch transfer is interrupted by SIGINT (usually ^C),lukem
2004-06-06Save approximately 8K by not including http authentication, extended statuschristos
2003-12-10Don't warn about "ignored setsockopt" failures unless debugging islukem
2003-12-04correct URL syntax in commentlukem
2003-07-31* $FTPUSERAGENT overrides the HTTP User-Agent header.lukem
2003-07-26netbsd.org->NetBSD.orgsalo
2003-07-12strlcpyitojun
2003-05-14Uppercase URL.wiz
2003-03-07fix a bogus error message when given a HTTP URL with a trailinggrant
2003-02-28crank dateslukem
2003-02-28add a cast to appease SUNWspro cc. noted by grant@lukem
2002-11-30tweaks for fparseln(3) move from libutil to libc:lukem
2002-06-05- when showing the final progress bar, replace "00:00 ETA" with thelukem