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>-u <replaceable>user/password</replaceable></arg>
37 <arg>-x <replaceable>proxy</replaceable></arg>
38 <arg rep="repeat">url</arg>
42 <refsect1><title>DESCRIPTION</title>
44 <command>yaz-url</command> is utility to get web content. It is very
45 limited in functionality compared to programs such as curl, wget.
48 The options must be precede the URL given on the command line to take
52 Fetched HTTP content is written to stdout, unless option -O is given.
56 <refsect1><title>OPTIONS</title>
59 <term>-H <replaceable>name:value</replaceable></term>
61 Specifies HTTP header content with name and value. This
62 option can be given multiple times (for different names,
68 <term>-m <replaceable>method</replaceable></term>
70 Specifies the HTTP method to be used for the next URL.
71 Default is method "GET". However, option -p sets it to "POST".
76 <term>-O <replaceable>fname</replaceable></term>
78 Sets output filename for HTTP content.
83 <term>-p <replaceable>fname</replaceable></term>
85 Sets a file to be POSTed in the folloing URL.
90 <term>-u <replaceable>user/password</replaceable></term>
92 Specifies a user and a password to be uesd in HTTP
93 basic authentication in the following URL fetch. The user
94 and password must be separated by a slash (this it is not
95 possible to specify a user with a slash in it).
100 <term>-x <replaceable>proxy</replaceable></term>
102 Specifies a proxy to be used for URL fetch.
108 <refsect1><title>SEE ALSO</title>
111 <refentrytitle>yaz</refentrytitle>
112 <manvolnum>7</manvolnum>
118 <!-- Keep this comment at the end of the file
123 sgml-minimize-attributes:nil
124 sgml-always-quote-attributes:t
127 sgml-parent-document:nil
128 sgml-local-catalogs: nil
129 sgml-namecase-general:t