aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch/fetch.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* Don't complain about not knowing the remote file size when working inDag-Erling Smørgrav2002-10-271-1/+1
* Whitespace and indentation cleanup.Dag-Erling Smørgrav2002-10-271-12/+12
* Forgot to disable alarms after fetchXGet() in previous commit.Dag-Erling Smørgrav2002-10-271-0/+2
* Add an ETA timer that kicks in after 30 seconds.Dag-Erling Smørgrav2002-10-271-16/+45
* s/optarg/s/ (cut'n'paste braino)Dag-Erling Smørgrav2002-08-271-6/+4
* Use strtol(3) instead of a home-grown version, and fix a "possiblyDag-Erling Smørgrav2002-07-281-36/+24
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
* Restored the part of 1.45 that was clobbered in rev.1.46:Bruce Evans2002-03-271-0/+1
* Add FBSDID. Remove unused include. Getopt returns -1 not EOF.Philippe Charnier2002-03-261-5/+5
* #include <sys/time.h> instead of depending on namespace pollution inBruce Evans2002-02-251-2/+2
* If downloading to a temporary file, set the timestamp on the temp file, notDag-Erling Smørgrav2002-02-161-2/+2
* Set fetchDebug if v_level is 3 or more.Dag-Erling Smørgrav2001-12-091-0/+2