summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
Commit message (Collapse)AuthorAgeFilesLines
* Add support for HTTP proxies, fix some bugs with http transfers.jkh1996-08-142-5/+58
| | | | Submitted-By: Mikael Hybsch <micke@dynas.se>
* Fix broken modtime preservation code. *Now* it preserves the modtimejkh1996-08-121-17/+25
| | | | | correctly! Noticed-By: knarf@camelot.de (Frank Bartels)
* Defer to fashion.jkh1996-08-071-10/+10
|
* Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errorsjmz1996-08-041-1/+3
| | | | are already correctly reported.
* Adapt to new libftpio. [jkh]jkh1996-08-031-9/+9
| | | | | Better error messages. Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
* Whups - update the usage message too.jkh1996-07-181-2/+2
|
* Add -n flag to use the current modtime rather than preserving it.jkh1996-07-182-6/+13
|
* New man page for fetch(1).jkh1996-07-051-1/+106
| | | | Submitted by: jmz (with some small tweaks)
* Back out previous commit: do not use read(), but fread (). Change BUFFER_SIZEjmz1996-07-051-11/+11
| | | | | | | 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.
* Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input.jmz1996-07-021-2/+2
|
* Add -Wall to CFLAGSgpalmer1996-06-261-0/+2
|
* Make GET request and response parsing HTTP/1.0 compatibleache1996-06-251-7/+7
|
* Do not exit if ftpGetSize() returns a value < 0. You may well try tojmz1996-06-241-3/+1
| | | | fetch a whole <directory>.tar.gz on a server running wu-ftp.
* Adjust the copyright to match reality, remove printing of gratuitous newline.jkh1996-06-221-3/+3
|
* Clean up more bogons:jkh1996-06-221-17/+77
| | | | | | | 1. Add a copyright at the top. 2. Make passive and binary modes work with new ftpio semantics. 3. Add a `mirror' (-m) flag which only copies the remote file if it's not the same size or is newer.
* Address Andrey's complaints:jkh1996-06-221-8/+11
| | | | | | | | 1. Always use file modtime, and if that's not usable then default to current time. 2. Allow HTTP_TIMEOUT to be set as an environment variable to override default. 3. Handle SIGTERM.
* Jean-Marc's url fetch program, with Josh MacDonald's patches andasami1996-06-193-0/+594
Jordan's ftpio library. Submitted by: jmz, jkh, jmacd (three-j!)
OpenPOWER on IntegriCloud