summaryrefslogtreecommitdiff
path: root/usr.bin/fetch/fetch.c
Commit message (Expand)AuthorAgeFilesLines
* Through a combination of insufficient variable initialization andDag-Erling Smørgrav2018-09-101-41/+69
* Support If-Modified-Since for https as well as http.Dag-Erling Smørgrav2018-05-121-3/+4
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* Remove defunct SSLv2 support from fetch(1) and fetch(3).Jung-uk Kim2015-03-251-15/+10
* Increase the default (and minimum) buffer size from 4 kB to 16 kB. Also,Dag-Erling Smørgrav2014-01-281-1/+2
* whitespace and bump copyrightDag-Erling Smørgrav2014-01-281-3/+3
* Implement certificate verification, and many other SSL-relatedDag-Erling Smørgrav2013-07-261-7/+136
* Correct check to see if file changes.Eitan Adler2013-06-021-1/+1
* Fix bandwidth reporting when doing a restarted download with "-r".Andre Oppermann2012-12-091-1/+1
* Add check for failure of mkstemp and setenv.Eitan Adler2012-12-081-2/+6
* Change fetch(1) to:Andre Oppermann2012-11-161-11/+25
* More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-191-41/+41
* Fix two issues related to the use of SIGINFO in fetch(1) to displayDag-Erling Smørgrav2012-01-181-7/+12
* Document the fact that passive mode is now the default.Dag-Erling Smørgrav2011-09-271-1/+1
* Use fseeko() instead of fseek(). The rest of the code is off_t-aware,Dag-Erling Smørgrav2011-09-271-2/+2
* Followup to r225599: the fseek() was a no-op since the file was openedDag-Erling Smørgrav2011-09-271-8/+8
* When resuming an HTTP download, we failed to verify that the rangeDag-Erling Smørgrav2011-09-151-0/+14
* Treat an empty argument as an error, instead of fetching theRuslan Ermilov2009-12-301-0/+5
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+1
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-1/+0
* The FTP_TIMEOUT and HTTP_TIMEOUT environment variables were ignored becauseDag-Erling Smørgrav2009-01-171-3/+4
* 1. Update fetch to consistently return 1 on error, as the man page states,Murray Stokely2008-12-171-6/+5
* Add support for HTTP 1.1 If-Modified-Since behavior.Murray Stokely2008-12-151-4/+25
* Improve usage and sync SYNOPSIS with usage.Ruslan Ermilov2008-12-131-4/+5
* Apply the same defaults to https as to http.Dag-Erling Smørgrav2008-12-111-2/+3
* Use the SCHEME_ knobs rather than knowing what they expand to.David E. O'Brien2008-08-211-2/+2
* Try to preserve ownership and permissions when replacing an existing file.Dag-Erling Smørgrav2006-11-101-0/+2
* Only clear sb.st_size if it is clearly wrong or meaningless. This fixesDag-Erling Smørgrav2005-12-301-5/+5
* Reflect progress in process title.Dag-Erling Smørgrav2005-12-301-0/+4
* Fix buffer overflow. This is FreeBSD-SA-04:16.fetch.Colin Percival2004-11-181-1/+2
* Update copyright years.Dag-Erling Smørgrav2004-09-211-1/+1
* The check for r_flag was accidentally removed in the previous commit.Dag-Erling Smørgrav2004-08-261-1/+1
* Fix a couple of edge cases in which sb.st_size may be incorrect orDag-Erling Smørgrav2004-08-151-5/+16
* Don't strip trailing linear whitespace from passwords.Dag-Erling Smørgrav2004-07-271-5/+5
* Style nits.Dag-Erling Smørgrav2004-07-271-5/+4
* Truncate long file names in stat_display(), as was originally intended.Dag-Erling Smørgrav2004-07-051-1/+1
* The description of the -S option in the man page says we won't fail if theDag-Erling Smørgrav2004-06-241-1/+0
* Fix integer overflow in the file size output when dealing withLukas Ertl2004-05-191-3/+3
* Workaround for servers that ignore byte ranges when using chunkedDag-Erling Smørgrav2004-04-061-1/+1
* Use %zu for size_t, like God intended.Dag-Erling Smørgrav2004-02-181-1/+1
* Fix printf() format bug in previous commit (size_t != int).Dag-Erling Smørgrav2004-02-181-17/+19
* Revamp the statistics code, and switch to a much more compact displayDag-Erling Smørgrav2004-02-181-48/+56
* Use floating point arithmetic to compute the ETA to avoid integer overflowDag-Erling Smørgrav2003-03-111-1/+1
* Clean up the ETA logic a bit and make sure it works for restarted transfers.Dag-Erling Smørgrav2003-03-111-7/+8
* Slight cleanup of the ETA / BPS code. Avoid a division by zero.Dag-Erling Smørgrav2003-01-231-14/+12
* Add -N option to specify a netrc file.Dag-Erling Smørgrav2003-01-221-29/+66
* Use the URL instead of the output file name when reporting errors relatingDag-Erling Smørgrav2002-11-271-6/+6
* Don't set atime / mtime if we don't have an output file, which can happenDag-Erling Smørgrav2002-11-131-2/+2
* Don't divide by zero to calculate the ETA, even if we haven't gottenBill Fenner2002-11-121-1/+1
* Don't exit with success after timeout during authentication.Bill Fenner2002-11-071-0/+4