summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
2014-04-09If TLS validation is on, retrieve the server TLS certificate andJeremie Courreges-Anglas
2014-03-30SNI support. ok guenther@ sthen@Jeremie Courreges-Anglas
2014-03-30Check the return value from SSL_CTX_set_cipher_list(), for consistency.Jeremie Courreges-Anglas
2014-03-30SSLeay_add_ssl_algorithms() is just a #define for SSL_library_init(), soJeremie Courreges-Anglas
2014-03-02only signed types work when comparing less than zero.Ted Unangst
2014-02-26use a larger read buffer to speed things up, particularly during upgrades.Ted Unangst
2013-12-24Add support for SSL/TLS server certificate validation, enabled byJeremie Courreges-Anglas
2013-11-13satisfy gcc in -Whiny modeTheo de Raadt
2013-10-27If a constant string needs a name, use a static const array instead of aPhilip Guenther
2013-04-09Retry when SSL_read fails with SSL_ERROR_WANT_READ. Fixes the case whereStuart Henderson
2013-03-30Fixed a memory leak during HTTP header parsing.Tobias Stoeckmann
2012-08-18Fix http resume without out auth, which I broke on the last commit,Christiano F. Haesbaert
2012-08-14Add support for basic HTTP authentication as described on RFC 2617 andChristiano F. Haesbaert
2012-04-30Add a -s flag to ftp(1) to let the user specify the source IP addressChristiano F. Haesbaert
2012-04-23Handle HTTP Content-Length headers with trailing whitespace. ok martynas@Stuart Henderson
2010-08-25don't free proxyurl and cookie twice in the location code; with halex@Martynas Venckus
2010-07-23Handle redirection to relative url's in the Location: header of httpAlexander Hall
2010-07-03make lint happyAlexander Hall
2010-06-29fix output handling:Alexander Hall
2010-06-03HTTP/1.1 requests must send a "Connection: close" header. Fixes the issue whereAlexander Hall
2010-06-03When attempting to resume a download, against an HTTP server thatPeter Hessler
2009-10-16factor psummary code of ftp.c to be generic, for all types ofMartynas Venckus
2009-08-26In "auto-fetch" mode without -o, the filename to save under is derivedStuart Henderson
2009-08-06encode special or unsafe characters defined by rfc1738. as a result,Martynas Venckus
2009-08-03tweak error message. url is valid per rfc1738 and can now beMartynas Venckus
2009-07-27- make urls such as http://foo, http://foo/, or http://foo/bar/Martynas Venckus
2009-07-18Don't assign NULL to an integer type, use 0 instead.Jonathan Gray
2009-06-29Fix the range of a #ifndef SMALL ... #endif not to include the "break;"Alexander Hall
2009-06-13- stat is not fatal, since we want resume not to fail for non-existentMartynas Venckus
2009-06-04silently ignore -a if a username is supplied in the urlAlexander Hall
2009-06-04set anonftp a little later; in autofetcher itself. after weMartynas Venckus
2009-05-10couple of fixes for fetch:Martynas Venckus
2009-05-05make it clean removing the ifdef SMALL maze. separate cmds andMartynas Venckus
2009-04-27toast the rcsid strings which just get in the wayTheo de Raadt
2009-04-26figure out titles automatically by using remote file name. removeMartynas Venckus
2008-10-16- resume http transfers [-C], if local file does not existMartynas Venckus
2008-10-16use O_CREAT in -C mode too, for in case it is not there the first timeTheo de Raadt
2008-09-26support proxies with password.Marc Espie
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-25in resume mode, pass -c to mget when {dir,file}hasglob, so that i'mMartynas Venckus
2008-06-15accept empty password, since that's exactly what rfc1738 tells usMartynas Venckus
2008-06-15in debug mode (-d), hide password in the same way as command() does;Martynas Venckus
2007-11-26implement -C for continuing ftp, http(s), and file transfersMartynas Venckus
2007-06-13Enable cookie support. This allows parsing of netscape-like cookie jarsPierre-Yves Ritschard
2007-04-17Support proxies which require a password just like ftp servers accept passwordsDale Rahn
2007-02-08Remove double semicolons.Ray Lai
2007-02-03Plug memory leak.Ray Lai
2006-09-25You forgot about -DSMALL and broke all the install mediaTheo de Raadt
2006-09-25Support some additional HTTP redirect codes.Jonathan Gray