Dag-Erling Smørgrav
78878b5fb8
MFC (small bug in previous fix)
1998-05-09 08:56:41 +00:00
Dag-Erling Smørgrav
5a151dc465
MFC (translate leading / in -c argument to %2f)
...
PR: bin/6558
1998-05-09 08:50:03 +00:00
Bill Fenner
aefa67d3f6
Merge FTP URL documentation from current. (The code change
...
was merged a long time ago.)
1998-05-09 07:35:13 +00:00
Jordan K. Hubbard
07a6122da8
MFC: user friendly suggestion.
1998-03-08 08:57:19 +00:00
John Polstra
5cbcf1d710
Merge from main branch 1.14 -> 1.15: Add missing arguments.
1997-11-18 03:28:50 +00:00
David E. O'Brien
a424fb1209
MFC (rev 1.3)
1997-11-12 04:40:45 +00:00
David E. O'Brien
e132426e55
MFC.
1997-11-08 22:24:45 +00:00
Bill Fenner
68b4856657
MFC: Interpret multiple slashes as a single slash in ftp: URL's.
1997-10-08 18:44:07 +00:00
Bill Fenner
69ed1a71e3
Merge revision 1.8 (use RFC1738 interpretation of ftp: URL's)
...
PR: bin/4670
Merge-ok'd-by: jkh
1997-10-06 04:39:36 +00:00
Martin Cracauer
3559ae1620
MFC: fetch(3) doesn't get asctime(3) format, wrong length assumed
...
PR: bin/4625
Submitted by: "Timo J. Rinne" <[email protected] >
Obtained from: bin/4625
1997-09-30 07:41:36 +00:00
Jordan K. Hubbard
f37c3d0edb
MFC: a number of trivial cosmetic updates and a fairly large update of f2c
...
[since I know that FreeBSD has so many fortran programmers now :-)]
1997-09-15 08:07:11 +00:00
Satoshi Asami
7f381b2fd3
Merge 1.43.
1997-08-19 01:58:37 +00:00
Peter Wemm
504d1f85cd
YAMFC. Most notable changes are beter ftp:// parsing, the
...
-b (linux_bug) switch, and chunked encoding support. A side effect of
the linux TCP bug workaround is that it stops the half-close that confuses
squid (a bug in squid on systems using select() instead of poll() - the
cache->fetch throughput slows to 409.6 bytes/sec).
1997-08-03 18:53:18 +00:00
Philippe Charnier
d800b746ae
MFC: Do not use argv[0] in usage().
1997-07-02 06:25:28 +00:00
Joerg Wunsch
d59831fba9
YAMFC (rev 1.6: fix FTP timeout handling)
1997-03-11 20:09:49 +00:00
Bill Fenner
cb0bae6ef8
YAMFC. Fix FTP URL parsing, new FTP_PROXY behavior, allow non-
...
standard FTP ports, handle almost-HTTP/1.0 servers (PR#2868),
fix restarting HTTP transfers (PR#2870).
1997-03-10 07:12:51 +00:00
Mike Pritchard
c6864fc4fc
Fix couple of $ FreeBSD $ lines that made it into 2.2.
...
I noticed these while looking for 2.2 -> 3.0 man page changes,
so there may be more of these.
1997-03-06 07:21:40 +00:00
Wolfram Schneider
4e7d561f99
YAMFC: This man page will appear in 2.2, not 3.0.
1997-02-22 23:48:47 +00:00
Joerg Wunsch
5f9fe6fb8a
Merge the revamped fetch(1) from -current.
1997-02-22 19:14:04 +00:00
cvs2svn
2db9c7a614
This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.
1997-02-16 16:36:32 +00:00
cvs2svn
02dc1b38dc
This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.
1997-02-06 17:52:31 +00:00
Poul-Henning Kamp
f72f5a58cc
YAMFC
1996-11-28 08:28:35 +00:00
Poul-Henning Kamp
17adef6fc2
Mega-merge from -current
1996-11-12 09:11:51 +00:00
Poul-Henning Kamp
5745420bb0
bin/1933: don't print negative % for huge files (80Mb)
1996-10-31 14:24:35 +00:00
Adam David
bf2226a7db
old host:/filename syntax was broken
...
implement /filename syntax for completeness
1996-10-24 00:15:44 +00:00
Jean-Marc Zucconi
b84aaff96e
The -h flag implies ftp = 1.
1996-10-06 00:44:24 +00:00
Wolfram Schneider
e0e5145ce6
add missing comma(s) in .Xr macros
1996-09-23 22:24:39 +00:00
Peter Wemm
a43a248c32
Attempt to untangle the timeout code a bit, also make the default ftp
...
and http timeouts the same, since when using a http proxy to do ftp
transfers, the http timeout was being used for what is coming in via
ftp.
1996-09-19 18:07:24 +00:00
Peter Wemm
02fa2cc705
Make fetch 64-bit safe, corresponding to libftpio changes.
...
Submitted by: Jason Thorpe <[email protected] >, PR#1641
1996-09-19 17:31:34 +00:00
Jordan K. Hubbard
f7c176c92b
Remove the code which has restart looking at the modtime. That's just
...
moronic! We don't care about the time in restart mode, only the size.
It's *mirror* mode which cares about modtimes.
1996-09-10 19:49:41 +00:00
Jordan K. Hubbard
7ae26f1450
Allow proper ftp verbosity with a new -v flag.
1996-08-31 22:03:05 +00:00
Jordan K. Hubbard
89fc51f330
Don't make -l warn when it's not used, so we can potentially set it
...
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
1996-08-23 06:21:17 +00:00
Mike Pritchard
85cf659a76
Use the .Fx macro where appropriate.
1996-08-23 00:57:08 +00:00
Jordan K. Hubbard
f0abcb4154
Print the correct thing when interrupted by a signal.
1996-08-22 23:25:24 +00:00
Jordan K. Hubbard
fc6fcbf9fc
1. Understand file:/path style URLs.
...
2. Add a -l flag for symlinking to rather than copying file:/path style URLs.
3. Add a -T flag for setting the timeout interval (overrides FTP_TIMEOUT if set)
1996-08-22 21:30:51 +00:00
Jordan K. Hubbard
608051dc0d
Fix a small potential bogon I noticed here with restarts.
1996-08-21 01:27:25 +00:00
Jordan K. Hubbard
477a3f5488
Add support for HTTP proxies, fix some bugs with http transfers.
...
Submitted-By: Mikael Hybsch <[email protected] >
1996-08-14 17:50:23 +00:00
Jordan K. Hubbard
f2b2a91e75
Fix broken modtime preservation code. *Now* it preserves the modtime
...
correctly!
Noticed-By: [email protected] (Frank Bartels)
1996-08-12 12:55:26 +00:00
Jordan K. Hubbard
c668d40c24
Defer to fashion.
1996-08-07 02:15:26 +00:00
Jean-Marc Zucconi
d616694a11
Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
...
are already correctly reported.
1996-08-04 00:35:39 +00:00
Jordan K. Hubbard
390a3f8faa
Adapt to new libftpio. [jkh]
...
Better error messages.
Submitted-By: "David E. O'Brien" <[email protected] >
1996-08-03 13:14:47 +00:00
Jordan K. Hubbard
e0607117a5
Whups - update the usage message too.
1996-07-18 00:08:58 +00:00
Jordan K. Hubbard
6b5c2db22a
Add -n flag to use the current modtime rather than preserving it.
1996-07-18 00:08:02 +00:00
Jordan K. Hubbard
7fefc698ab
New man page for fetch(1).
...
Submitted by: jmz (with some small tweaks)
1996-07-05 01:03:20 +00:00
Jean-Marc Zucconi
4d705fe0f6
Back out previous commit: do not use read(), but fread (). Change BUFFER_SIZE
...
to 1K to avoid waiting too long between 2 progress reports in the case of a
slow transfer.
Move the signal()/setitimer() code just before the read loop because the
ftpio library set and reset the timer internally.
1996-07-05 00:06:36 +00:00
Jean-Marc Zucconi
144e75837e
Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input.
1996-07-02 01:49:47 +00:00
Gary Palmer
84b54bb498
Add -Wall to CFLAGS
1996-06-26 20:49:41 +00:00
Andrey A. Chernov
1f1b7c85d3
Make GET request and response parsing HTTP/1.0 compatible
1996-06-25 21:33:18 +00:00
Jean-Marc Zucconi
ca3eb98721
Do not exit if ftpGetSize() returns a value < 0. You may well try to
...
fetch a whole <directory>.tar.gz on a server running wu-ftp.
1996-06-24 01:03:05 +00:00
Jordan K. Hubbard
35740f4fe3
Adjust the copyright to match reality, remove printing of gratuitous newline.
1996-06-22 23:24:13 +00:00