1 .TH zpm-fetchurl 8 2019-02-27 "ZPM 0.4"
3 zpm-fetchurl \- download files
14 \fBzpm-fetchurl\fR downloads files
16 \fBzpm-fetchurl\fR understands http, https, and file type urls.
17 For https, it uses a trust on first use model for ssl certificates, but a more
18 common model verifying via root certificates, or no verfication can also be
21 While this program can be used directly, it is intended for use by zpm scripts
22 for downloading repositories and packages without requiring an external
27 output the response header only, implies -r
30 output the entire response, including the header
33 output the response status code only
36 Don't verify any certificates.
39 Verify certificates via root certificates. This is normally the default for
40 TLS, but zpm-fetchurl uses a trust on first use policy instead. Root
41 certificates are found by default in /etc/zpm/roots.pem, but the ZPM_ROOTFILE
42 environment variable can be used to override this.
45 set the limit on following redirects, defaults to 50
48 Only download if remote is newer than the file given by path
51 Write the output to the file given by \fIpath\fR. Output is
52 written to stdout by default.
55 Calculate the output file name from the url.
58 Only if newer. Like \-z, except use the output file name, if any.
61 Fail silently on errors.
64 Output a progress bar. A '#' is accepted for compatibility with curl.
67 zpm fetchurl -o zpm-0.1.2.zpm https://zoranix.net/repo/packages/zpm-0.1.2.zpm
69 0 on success non zero on failure
71 /var/lib/zpm/known_hosts