1 .TH zpm-fetchurl 8 2019-03-04 "ZPM 0.7.0"
3 zpm-fetchurl \- download files
22 \fBzpm-fetchurl\fR downloads files
24 \fBzpm-fetchurl\fR understands http, https, and file type urls.
25 For https, it uses a trust on first use model for ssl certificates, but a more
26 common model verifying via root certificates, or no verfication can also be
29 While this program can be used directly, it is intended for use by zpm scripts
30 for downloading repositories and packages without requiring an external
35 output the response header only, implies -r
38 output the entire response, including the header
41 Limit the maximum number of redirects to \fIlimit\fR. The default is
45 output the response status code only
48 Don't verify any certificates.
51 Verify certificates via root certificates. This is normally the default for
52 TLS, but zpm-fetchurl uses a trust on first use policy instead. Root
53 certificates are found by default in /etc/zpm/roots.pem, but the ZPM_ROOTFILE
54 environment variable can be used to override this.
57 Output the request header.
60 Only download if remote is newer than the file given by path
63 Write the output to the file given by \fIpath\fR. Output is
64 written to stdout by default.
67 Calculate the output file name from the url.
70 Only if newer. Like \-z, except use the output file name, if any.
73 Fail silently on errors.
76 Output a progress bar. A '#' is accepted for compatibility with curl.
79 zpm fetchurl -o zpm-0.1.2.zpm https://zoranix.net/repo/packages/zpm-0.1.2.zpm
81 0 on success non zero on failure
83 /var/lib/zpm/known_hosts