summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch
Commit message (Collapse)AuthorAgeFilesLines
...
* The -h flag implies ftp = 1.jmz1996-10-061-1/+2
|
* add missing comma(s) in .Xr macroswosch1996-09-231-2/+2
|
* Attempt to untangle the timeout code a bit, also make the default ftppeter1996-09-192-20/+35
| | | | | | 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.
* Make fetch 64-bit safe, corresponding to libftpio changes.peter1996-09-191-26/+31
| | | | Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>, PR#1641
* Remove the code which has restart looking at the modtime. That's justjkh1996-09-101-2/+2
| | | | | moronic! We don't care about the time in restart mode, only the size. It's *mirror* mode which cares about modtimes.
* Allow proper ftp verbosity with a new -v flag.jkh1996-08-312-8/+13
|
* Don't make -l warn when it's not used, so we can potentially set itjkh1996-08-231-4/+1
| | | | | all the time if we want to use "link" behavior for file URLs (and not have fetch whine at us when they're not).
* Use the .Fx macro where appropriate.mpp1996-08-231-2/+3
|
* Print the correct thing when interrupted by a signal.jkh1996-08-221-8/+7
|
* 1. Understand file:/path style URLs.jkh1996-08-222-514/+600
| | | | | 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)
* Fix a small potential bogon I noticed here with restarts.jkh1996-08-211-2/+2
|
* 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