summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
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
2006-07-07Remove extraneous code:Ray Lai
2006-06-23free and sl_free already check against NULL, remove a few unneeded ifs.Steven Mestdagh
2006-06-01Remove two unnecessary strlen() calls. Also, check if asprintfRay Lai
2006-05-25No matter how big the buffer size is, always limit to INT_MAX forRay Lai
2006-05-25Don't recalculate string length, just use return value from vasprintf.Ray Lai
2006-05-25Minor type correction.Ray Lai
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai
2006-05-16https URL support; rototilled by a few people including me; originallyTheo de Raadt
2006-04-25two strtol calls that were begging to be converted to strtonumTed Unangst
2006-04-03Ignore http_proxy for file urls; ok millert deraadtUwe Stuehler
2006-03-29fix fetching zero-length files via proxy. while there, also fix progress-meterAlexander von Gernler
2006-02-01save errno, from Ray Lai in PR 4999.Otto Moerbeek
2005-08-05when i did the cleanup and switched to http 1.1, i forgot to add chunkedFederico G. Schwindt
2005-07-18some cleanup and on non-proxy operation switch to HTTP 1.1 since we'veFederico G. Schwindt
2005-04-21avoid infinite recursion on redirects; From NetBSD but limit set to 10.Federico G. Schwindt
2005-04-11knf; cloder okTheo de Raadt
2005-04-05a : in the path is not a port # indicator so don't take ones intoHenning Brauer
2004-09-16type corrections and other delintingTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-02-28Open a new connection for each URL given on the command line.Kenneth R Westerback
2003-12-16for -DSMALL, do not include rcsid[]sTheo de Raadt
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-04-05string fixes; ok miod henningTheo de Raadt
2003-03-31Treat empty environment variables the same as NULL. henning@ OKTodd C. Miller
2003-03-10correct use of getnameinfo. PR 3138Jun-ichiro itojun Hagino
2003-02-17Fix double free; Brian PooleTodd C. Miller
2002-12-30minor KNFTheo de Raadt
2002-12-19only do "Trying ..." if verboseTheo de Raadt
2002-11-08http redirect support; adapted from NetBSD.Federico G. Schwindt
2002-05-30-4 and -6 options; kanai@big.or.jp; itojun okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-14o Don't accept URLs with user:pass@ and an extra unencoded @.Heikki Korpela
2001-10-27Send User-Agent: OpenBSD ftp to WWW servers and proxies.Heikki Korpela
2001-10-03o Only send port number in the HTTP request 'Host: ' specificationHeikki Korpela
2001-06-23remove evil #ifdef __GNUC__ garbage to avoid longjmp clobbering and use volat...Todd C. Miller