phttpget(8)

phttpget8

Retrieve multiple files via pipelined http

Usage

phttpget server file ...

Overview

The phttpget utility is a minimalist pipelined HTTP client, which is used to retrieve multiple files from one server, and saves the downloaded files in the current working directory, using the last portion of their download path as file names.

By making several "in flight" HTTP requests, it can dramatically increase performance when a large number of small files need to be downloaded.

The freebsd-update(8) tool uses phttpget to download binary patch files.

Environment

HTTP_PROXY

URL of the proxy to use for HTTP requests.

HTTP_PROXY_AUTH

Authorization parameters for the HTTP proxy.

HTTP_USER_AGENT

The User-Agent string to use for HTTP requests. The default is “phttpget/0.1”.

HTTP_TIMEOUT

Timeout for HTTP request in seconds.

Releases

28 releases since FreeBSD 10.2-RELEASE; the text changed 15 times.

  1. 10.2
  2. 10.3
  3. 10.4
  4. 11.0
  5. 11.1
  6. 11.2
  7. 11.3
  8. 11.4
  9. 12.0
  10. 12.1
  11. 12.2
  12. 12.3
  13. 12.4
  14. 13.0–13.2
  15. 13.3–14.0
  16. 14.1–16.0

Authors

The phttpget utility was written by Colin Percival ⟨[email protected]⟩ initially for use with portsnap(8) (now removed) and has been used by freebsd-update(8). This manual page was written by Xin LI ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.