Murray Stokely
7f92799f67
Add support for HTTP 1.1 If-Modified-Since behavior.
...
fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<file>.
libfetch(3) accepts the mtime in the url structure and a flag to
indicate when this behavior is desired.
PR: bin/87841
Submitted by: Jukka A. Ukkonen <jau@iki.fi> (partially)
Reviewed by: des, ru
MFC after: 3 weeks
2008-12-15 08:27:44 +00:00
Ruslan Ermilov
e801aa4856
Improve usage and sync SYNOPSIS with usage.
2008-12-13 17:48:06 +00:00
Dag-Erling Smørgrav
0fc781ff32
List all environment variables supported by libfetch, along with a reference
...
to the fetch(3) man page.
MFC after: 1 week
2007-12-28 19:47:37 +00:00
Joseph Koshy
ee8e4b36bb
Fix a typo.
...
Submitted by: Pawel Worach <pawel.worach at gmail dot com>
MFC after: 1 week
2006-04-22 03:04:24 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Dag-Erling Smørgrav
2cbbf9dac9
Update copyright years.
2004-09-21 18:35:21 +00:00
Colin Percival
fe6a04858c
Document the behaviour of the "-o file" option when "file" is a directory
...
(downloaded file(s) are created inside the directory).
MFC after: 3 days
2004-07-30 08:43:16 +00:00
Ruslan Ermilov
4bdd89ba98
Restore part of the word that got (accidentally) removed.
...
Removed whitespace at EOL.
2004-05-19 09:46:37 +00:00
Dag-Erling Smørgrav
ac9fd74eb1
Remove EXAMPLES section which duplicates text in fetch(3).
2004-02-27 10:27:01 +00:00
Wes Peters
fbcf5e6575
Remove the inadvertant HTML additions to this man page.
...
These appear to have been inserted in the PR text by gnatsweb.
Noticed by: des (maintainer)
2004-01-28 18:51:24 +00:00
Wes Peters
09d2d42edd
Revert changes of rev 1.55; replace with strong encouragement to
...
read fetch(3) as well.
Requested by: des (maintainer)
2004-01-26 07:55:30 +00:00
Dag-Erling Smørgrav
90ffd7ea34
Previous commit did the reverse of what the log message said (and of
...
what I intended to do). Really remove my middle name.
2004-01-26 07:09:12 +00:00
Dag-Erling Smørgrav
09e0653941
I don't normally use my middle name, so remove it from attributions in
...
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
2004-01-25 11:39:42 +00:00
Wes Peters
cec5287b4d
Document fetch(1) environment variables in fetch(1) man page, instead of
...
taking lazy users on the arduous journey through SEE ALSO to fetch(3).
PR: docs/61759
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
2004-01-23 04:50:48 +00:00
Ruslan Ermilov
6ce729e14d
Finish the reversion of rev. 1.52.
2003-09-08 18:58:47 +00:00
Tom Rhodes
fa676bbfc8
Revert 1.52. This should have been added to fetch.3.
...
Discussed with: des, ru
2003-06-10 20:34:50 +00:00
Tom Rhodes
ac6bad097f
Add an EXAMPLES section.
...
Xref sh(1) as we use environment variables.
PR: 43899
Reviewed by: des
2003-05-17 15:46:46 +00:00
Dag-Erling Smørgrav
1bbb80b674
Clarify that -r implies -R.
2003-03-11 08:21:16 +00:00
Ruslan Ermilov
ace5be682d
mdoc(7) police: Scheduled sweep.
2003-02-24 22:53:26 +00:00
Dag-Erling Smørgrav
7dcb0a0e83
Document netrc support.
2003-01-22 18:35:20 +00:00
Philippe Charnier
3898680cf7
Use `The .Nm utility'
2002-04-19 23:44:58 +00:00
Ruslan Ermilov
ab47d79913
Document fetch(1) reaction to SIGINFO.
...
PR: docs/33640
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Approved by: des
2002-01-16 16:16:08 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Dag-Erling Smørgrav
7c480c6c77
Now that libfetch uses the high port range by default, add a -U option to
...
make it use the low (default) port range instead.
2001-03-24 00:32:11 +00:00
Dag-Erling Smørgrav
150fb21bf8
Fix a formatting bug (MFC candidate)
2001-03-07 03:22:11 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
f4d874a1db
mdoc(7) police: do not split author names in the AUTHORS section.
2000-11-22 09:35:58 +00:00
Ruslan Ermilov
b82f5db0ac
Spell the des's name correctly.
2000-11-14 13:19:26 +00:00
Ben Smithurst
cf575052df
* Remove description of obsolete -t option.
...
* Insert newline before "and" in ".Fl c and".
Approved by: des
2000-07-18 21:05:11 +00:00
Dag-Erling Smørgrav
38a616e49f
The description of the semantics of -v and -q has long since been OBE.
2000-07-17 22:44:36 +00:00
Dag-Erling Smørgrav
c0b0d54e10
Document the fact that -r and -m are mutually exclusive.
2000-07-17 21:51:48 +00:00
Dag-Erling Smørgrav
0b474bc608
Clarify the meaning of -m and -n (thanks to bde).
2000-07-08 09:34:53 +00:00
Dag-Erling Smørgrav
114c3c1ab8
Add MIT copyright
2000-07-05 12:04:31 +00:00
Dag-Erling Smørgrav
047843dd61
Note that the -h, -c and -f options are deprecated, and remove note that
...
incorrectly stated that they were not implemented.
Document the -d option.
2000-06-29 10:35:24 +00:00
Dag-Erling Smørgrav
b39628e763
New libfetch-based fetch.
2000-06-28 16:55:15 +00:00
Sheldon Hearn
87faa07bec
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 12:20:22 +00:00
Brian Feldman
d6a8296aed
Add the -F option. This is for forcing restarts with -r by inhibiting
...
transmission of the If-Range HTTP header field.
1999-10-23 15:22:53 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Brian Feldman
90331af0d2
"transfered" -> "transferred"
...
Reviewed by: dict(1)
1999-07-02 08:57:06 +00:00
Garrett Wollman
189da04438
Deal with broken Web sites which return 302 responses rather than 404
...
and an error document when the requested resource does not exist. Grrr.
Requested by: asami
1999-02-23 18:51:13 +00:00
Bill Fenner
054672c795
Warn about collapsing multiple slashes into 1 in ftp URL's.
...
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
1999-02-03 20:43:29 +00:00
Garrett Wollman
c146843096
For RFC 850 dates received in HTTP responses, implement the century pivot
...
described in RFC 2068. Include a reference to same in the manual page.
1999-01-15 16:56:22 +00:00
Martin Cracauer
b451f4524e
Add -s option, just report size of file that would be fetched.
...
Reviewed by: -current list
1998-12-08 13:00:49 +00:00
Dag-Erling Smørgrav
9f63f2aa1c
main.c:
...
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.
1998-11-08 23:18:48 +00:00
Jordan K. Hubbard
0637c2cccd
Add -S flag; this is benign since fetch's behavior is unchanged if you
...
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>
1998-09-20 00:01:26 +00:00
Garrett Wollman
cffe96c903
Fix my last change: the .Fx macro doesn't do anything useful without an
...
argument, so use `.Tn FreeBSD' instead.
1998-05-09 21:39:49 +00:00
Garrett Wollman
eeed58d824
Documentation fix: delete references to T/TCP as they are not relevant
...
to the case in question. (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
1998-05-09 20:50:37 +00:00
Bill Fenner
5e92200712
Describe absolute paths in FTP URL's. This patch has been sitting
...
around uncommitted for 2 months =(
1998-05-09 07:33:09 +00:00