<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Language" content="en-us" /> <meta name="ROBOTS" content="ALL" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="Keywords" content="cherokee web server httpd http" /> <meta name="Description" content="Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration by reading files or strings, TLS/SSL (via GNUTLS or OpenSSL), virtual hosts, authentication, cache friendly features, PHP, custom error management, and much more." /> <link href="media/css/cherokee_doc.css" rel="stylesheet" type="text/css" media="all" /> </head> <body> <h2 id="_a_href_index_html_index_a_8594_a_href_other_html_other_information_a_8594_a_href_other_bundle_html_man_pages_a"><a href="index.html">Index</a> → <a href="other.html">Other information</a> → <a href="other_bundle.html">Man pages</a></h2> <div class="sectionbody"> </div> <h2 id="_man_pages_cget">Man pages: cget</h2> <div class="sectionbody"> <div class="paragraph"><p>This is an accessory tool developed for testing purposes of the capabilities of Cherokee in the early releases. Over the time new functionalities were included and now it can be a really handy tool. You might find it useful for your own scripts, especially for its ability to read and write HTTP headers.</p></div> <div class="paragraph"><p>It can handle both HTTP and HTTPS requests.</p></div> <div class="paragraph"><p>This is the full information provided by the manpage:</p></div> <div class="sidebarblock"> <div class="sidebar-content"> <div class="dlist"><dl> <dt class="hdlist1"> <strong>NAME</strong> </dt> <dd> <p> <tt>cget</tt> - Cherokee web downloader </p> </dd> <dt class="hdlist1"> <strong>SYNOPSIS</strong> </dt> <dd> <p> <tt>cget</tt> [options] URL </p> </dd> <dt class="hdlist1"> <strong>DESCRIPTION</strong> </dt> <dd> <p> <tt>cget</tt> is a web downloading tool </p> </dd> <dt class="hdlist1"> <strong>OPTIONS</strong> </dt> <dd> <p> No option is mandatory. By default the web is downloaded but it is not saved. If that is not the desired behavior it must be specified explicitly. Below is a summary of the cget options. </p> <div class="ulist"><ul> <li> <p> <strong>Startup</strong> </p> <div class="dlist"><dl> <dt class="hdlist1"> -V, --version </dt> <dd> <p> Display version of currently installed cget and exit. </p> </dd> <dt class="hdlist1"> -h, --help </dt> <dd> <p> Display help screen with common options. </p> </dd> </dl></div> </li> <li> <p> <strong>Logging and input file</strong> </p> <div class="dlist"><dl> <dt class="hdlist1"> -q, --quiet </dt> <dd> <p> Run in quiet mode: no output is displayed. </p> </dd> </dl></div> </li> <li> <p> <strong>Download</strong> </p> <div class="dlist"><dl> <dt class="hdlist1"> -O, --output-document=FILE </dt> <dd> <p> Writes whatever document is downloaded to FILE </p> </dd> </dl></div> </li> <li> <p> <strong>HTTP options</strong> </p> <div class="dlist"><dl> <dt class="hdlist1"> -s, --save-headers </dt> <dd> <p> This option saves HTTP headers to the file being saved (speciā fied with -O option) </p> </dd> <dt class="hdlist1"> --header=STRING </dt> <dd> <p> this option inserts STRING among the headers sent in the HTTP request. </p> </dd> </dl></div> </li> </ul></div> </dd> <dt class="hdlist1"> <strong>EXAMPLE</strong> </dt> <dd> <p> cget <a href="http://www.cherokee-project.com/">http://www.cherokee-project.com/</a> </p> </dd> </dl></div> </div></div> </div> <div id="footer"> <div id="footer-text"> </div> </div> </body> </html>