summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
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
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