aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/fetch
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'RELENG_4_6'.cvs2svn2002-07-031-3/+2
| | | | Notes: svn path=/releng/4.6/; revision=99348
* The .Nm utilityPhilippe Charnier2002-06-201-2/+3
| | | | Notes: svn path=/stable/4/; revision=98522
* MFC: (1.44) set the timestamp on the correct file.Dag-Erling Smørgrav2002-02-231-2/+2
| | | | | | | PR: bin/34992 Notes: svn path=/stable/4/; revision=91143
* MFC: 1.47: Document fetch(1) reaction to SIGINFO.Ruslan Ermilov2002-01-161-0/+12
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/4/; revision=89430
* MFC: synch with -CURRENT (authentication callback, timeout, atomicity,Dag-Erling Smørgrav2001-12-182-621/+740
| | | | | | | warnings and style) Notes: svn path=/stable/4/; revision=88123
* MFC: don't print progress reports unless we're the foreground process.Dag-Erling Smørgrav2001-10-061-0/+11
| | | | | | | PR: bin/30764 Notes: svn path=/stable/4/; revision=84570
* MFC 1.32: fix scheme guessing.Dima Dorfman2001-08-161-2/+2
| | | | | | | Approved by: des, murray Notes: svn path=/stable/4/; revision=81741
* MFC: remove whitespace at EOL.Dima Dorfman2001-07-221-4/+4
| | | | Notes: svn path=/stable/4/; revision=80147
* MFC: synch completely with -CURRENT, except for fetchAuthMethod stuff.Dag-Erling Smørgrav2001-06-111-8/+8
| | | | Notes: svn path=/stable/4/; revision=78091
* MFC: don't try to print a percentage for zero-length files.Dag-Erling Smørgrav2001-06-111-1/+1
| | | | Notes: svn path=/stable/4/; revision=78084
* MFC: bring usage message in synch with reality.Dag-Erling Smørgrav2001-03-281-3/+2
| | | | | | | | PR: bin/26160 Approved by: jkh Notes: svn path=/stable/4/; revision=74960
* MFC: port range usage.Dag-Erling Smørgrav2001-03-242-13/+17
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=74750
* MFC: print status when SIGINFO is received.Dag-Erling Smørgrav2001-03-151-5/+29
| | | | Notes: svn path=/stable/4/; revision=74316
* MFC: (rev 1.44) fix a formatting bug.Ruslan Ermilov2001-03-071-1/+1
| | | | Notes: svn path=/stable/4/; revision=73946
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2001-03-061-1/+1
| | | | Notes: svn path=/stable/4/; revision=73879
* MFC: try to guess scheme; be more careful if server doesn't report size.Dag-Erling Smørgrav2000-12-271-2/+21
| | | | Notes: svn path=/stable/4/; revision=70409
* MFC: recent mdoc(7) fixes.Ruslan Ermilov2000-12-081-1/+2
| | | | Notes: svn path=/stable/4/; revision=69768
* MFC: various bug and style fixes (synch with -CURRENT)Dag-Erling Smørgrav2000-12-011-12/+25
| | | | Notes: svn path=/stable/4/; revision=69467
* MFC: if output file is a device node, don't set mtime or unlinkDag-Erling Smørgrav2000-09-171-2/+4
| | | | Notes: svn path=/stable/4/; revision=66000
* MFC: revert to old behavior of deleting the output file when interrupted.Dag-Erling Smørgrav2000-07-261-2/+4
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=63879
* MFC: don't print summary in quiet mode (cosmetic)Dag-Erling Smørgrav2000-07-211-0/+3
| | | | Notes: svn path=/stable/4/; revision=63721
* MFC: Sync with -CURRENT (most notably, fix resume and proxy problems)Dag-Erling Smørgrav2000-07-212-15/+11
| | | | | | | Approved by: jkh Notes: svn path=/stable/4/; revision=63718
* MFC: fix bugs related to resumed HTTP transfers.Dag-Erling Smørgrav2000-07-201-20/+26
| | | | Notes: svn path=/stable/4/; revision=63570
* MFC: don't force passive modeDag-Erling Smørgrav2000-07-191-1/+1
| | | | Notes: svn path=/stable/4/; revision=63502
* MFC: remove description of -t, don't mark the word "and" as a flag.Ben Smithurst2000-07-181-5/+2
| | | | | | | Approved by: des Notes: svn path=/stable/4/; revision=63466
* MFC: everything since the last one.Dag-Erling Smørgrav2000-07-172-35/+94
| | | | Notes: svn path=/stable/4/; revision=63347
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-171-0/+645
| | | | Notes: svn path=/stable/4/; revision=63310
* MFC: libfetch-based fetch(1)Dag-Erling Smørgrav2000-07-169-3845/+157
| | | | Notes: svn path=/stable/4/; revision=63238
* Prettify, add $FreeBSD$ and claim maintainershipDag-Erling Smørgrav2000-06-291-5/+6
| | | | Notes: svn path=/stable/4/; revision=62249
* Print a warning and exit with != 0 when at least one downloaded fileMartin Cracauer2000-03-084-22/+44
| | | | | | | | | | | is shorter than previously announced by the server. Tested by asami. Approved by: jkh Notes: svn path=/head/; revision=57824
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-3/+6
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Add the -F option. This is for forcing restarts with -r by inhibitingBrian Feldman1999-10-234-7/+22
| | | | | | | transmission of the If-Range HTTP header field. Notes: svn path=/head/; revision=52444
* $Id$ -> $FreeBSD$Peter Wemm1999-08-288-8/+8
| | | | Notes: svn path=/head/; revision=50477
* "transfered" -> "transferred"Brian Feldman1999-07-022-4/+4
| | | | | | | Reviewed by: dict(1) Notes: svn path=/head/; revision=48457
* This fixes the problem of cancelling an FTP transfer resulting inBrian Feldman1999-06-212-3/+6
| | | | | | | | a bogus error ("parsing URI".) I also fixed an inconsistency in another fs_status. Notes: svn path=/head/; revision=48060
* make md5 checksums actually work instead of simply calculating the lengthJohn-Mark Gurney1999-05-181-3/+7
| | | | | | | | | | | | of an empty buffer... the output file wasn't readable... also warn that we can't checksum on stdout and print out the base64 encoded version of the md5 checksum... Site to actually return md5 digest: web.golux.com Verified that fetch was broken: Ken Coar <Ken.Coar@Golux.Com> Notes: svn path=/head/; revision=47303
* Restore \n at end of usage message.Garrett Wollman1999-03-081-2/+2
| | | | | | | Complained-about-by: charnier Notes: svn path=/head/; revision=44576
* Improve error message wording when attempting to link to a non-existentAlexander Langer1999-03-021-2/+2
| | | | | | | | | | file on the local host. PR: 10042 Submitted by: Chris Costello <phoenix@calldei.com> Notes: svn path=/head/; revision=44392
* Deal with broken Web sites which return 302 responses rather than 404Garrett Wollman1999-02-233-17/+38
| | | | | | | | | and an error document when the requested resource does not exist. Grrr. Requested by: asami Notes: svn path=/head/; revision=44240
* Remove the FTP_PASSIVE_MODE "fix"; libftpio handles this.Bill Fenner1999-02-051-3/+1
| | | | Notes: svn path=/head/; revision=43627
* Warn about collapsing multiple slashes into 1 in ftp URL's.Bill Fenner1999-02-032-4/+34
| | | | | | | | | | | | | | Look at the FTP_PASSIVE_MODE environment variable like the man page says. PR: bin/9464 Submitted by: John A. Shue <John.Shue@symmetron.com> Add references to RFC's 1790, 959, 850. PR: doc/6564 Notes: svn path=/head/; revision=43569
* Don't try to parse a colon in a URL as a portBill Fenner1999-02-031-2/+2
| | | | | | | | | | (e.g. http://www.host.name/foo:bar) PR: bin/5072 Submitted by: Takeshi WATANABE <watanabe@komadori.planet.kobe-u.ac.jp> Notes: svn path=/head/; revision=43568
* Fix logic error in RFC 850 kluge.Garrett Wollman1999-01-151-3/+4
| | | | Notes: svn path=/head/; revision=42703
* For RFC 850 dates received in HTTP responses, implement the century pivotGarrett Wollman1999-01-152-4/+48
| | | | | | | described in RFC 2068. Include a reference to same in the manual page. Notes: svn path=/head/; revision=42702
* Add -s option, just report size of file that would be fetched.Martin Cracauer1998-12-085-8/+67
| | | | | | | Reviewed by: -current list Notes: svn path=/head/; revision=41600
* main.c:Dag-Erling Smørgrav1998-11-082-12/+13
| | | | | | | | | Fix usage string. Fix getopt() string. Fix ordering of compatibility options. fetch.1: Fix synopsis. Fix ordering of T and t options. Fix minor grammar nit. Notes: svn path=/head/; revision=41021
* If we know the content-length, only read that number of bytes fromBill Fenner1998-10-261-2/+13
| | | | | | | | the server. There exists a broken server which sends a few extra garbage bytes in response to HTTP/1.1 requests. Notes: svn path=/head/; revision=40656
* Add -S flag; this is benign since fetch's behavior is unchanged if youJordan K. Hubbard1998-09-205-8/+55
| | | | | | | | don't use it. That's why I'm bringing it in during our "code slush" Submitted by: Stefan Esser <se@mi.uni-koeln.de> Notes: svn path=/head/; revision=39497
* DTRT for file: URLs when output file is "-".Dag-Erling Smørgrav1998-09-171-1/+17
| | | | | | | PR: bin/7203 Notes: svn path=/head/; revision=39391
* Fix proxy authorization code:Stefan Eßer1998-07-121-8/+8
| | | | | | | | | - failed to use authorization parameters passed in the environment, if /dev/tty could not be opened (i.e. if running from cron) - mixed use of /dev/tty and stdin for prompt and reading of the result Notes: svn path=/head/; revision=37579