1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
4 <!ENTITY % local SYSTEM "local.ent">
6 <!ENTITY % entities SYSTEM "entities.ent">
8 <!ENTITY % idcommon SYSTEM "common/common.ent">
11 <refentry id="yaz-url">
13 <productname>YAZ</productname>
14 <productnumber>&version;</productnumber>
15 <info><orgname>Index Data</orgname></info>
19 <refentrytitle>yaz-url</refentrytitle>
20 <manvolnum>1</manvolnum>
21 <refmiscinfo class="manual">Commands</refmiscinfo>
25 <refname>yaz-url</refname>
26 <refpurpose>YAZ URL fetch utility</refpurpose>
31 <command>yaz-url</command>
32 <arg>-H <replaceable>name:value</replaceable></arg>
33 <arg>-m <replaceable>method</replaceable></arg>
34 <arg>-O <replaceable>fname</replaceable></arg>
35 <arg>-p <replaceable>fname</replaceable></arg>
36 <arg>-R <replaceable>num</replaceable></arg>
37 <arg>-u <replaceable>user/password</replaceable></arg>
38 <arg>-x <replaceable>proxy</replaceable></arg>
39 <arg rep="repeat">url</arg>
43 <refsect1><title>DESCRIPTION</title>
45 <command>yaz-url</command> is utility to get web content. It is very
46 limited in functionality compared to programs such as curl, wget.
49 The options must be precede the URL given on the command line to take
53 Fetched HTTP content is written to stdout, unless option -O is given.
57 <refsect1><title>OPTIONS</title>
60 <term>-H <replaceable>name:value</replaceable></term>
62 Specifies HTTP header content with name and value. This
63 option can be given multiple times (for different names,
69 <term>-m <replaceable>method</replaceable></term>
71 Specifies the HTTP method to be used for the next URL.
72 Default is method "GET". However, option -p sets it to "POST".
77 <term>-O <replaceable>fname</replaceable></term>
79 Sets output filename for HTTP content.
84 <term>-p <replaceable>fname</replaceable></term>
86 Sets a file to be POSTed in the folloing URL.
91 <term>-R <replaceable>num</replaceable></term>
93 Sets maximum number of HTTP redirects to be followed.
94 A value of zero disables follow of HTTP redirects.
99 <term>-u <replaceable>user/password</replaceable></term>
101 Specifies a user and a password to be uesd in HTTP
102 basic authentication in the following URL fetch. The user
103 and password must be separated by a slash (this it is not
104 possible to specify a user with a slash in it).
109 <term>-x <replaceable>proxy</replaceable></term>
111 Specifies a proxy to be used for URL fetch.
117 <refsect1><title>SEE ALSO</title>
120 <refentrytitle>yaz</refentrytitle>
121 <manvolnum>7</manvolnum>
127 <!-- Keep this comment at the end of the file
132 sgml-minimize-attributes:nil
133 sgml-always-quote-attributes:t
136 sgml-parent-document:nil
137 sgml-local-catalogs: nil
138 sgml-namecase-general:t