فهرست منبع

2008-11-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Added usege for proxy.
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 17 سال پیش
والد
کامیت
d2f47847e3
4فایلهای تغییر یافته به همراه100 افزوده شده و 1 حذف شده
  1. 5 0
      ChangeLog
  2. 46 0
      doc/aria2c.1
  3. 27 1
      doc/aria2c.1.html
  4. 22 0
      doc/aria2c.1.txt

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-11-09  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Added usege for proxy.
+	* doc/aria2c.1.txt
+
 2008-11-09  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added usage for --ca-certificate, --certificate, --private-key and

+ 46 - 0
doc/aria2c.1

@@ -885,6 +885,52 @@ Note
 \-j option specifies the number of parallel downloads\&.
 .sp
 .RE
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+Using proxy
+.RS
+For HTTP:
+.sp
+.sp
+.RS 4
+.nf
+aria2c \-\-http\-proxy=http://proxy:8080 http://host/file
+.fi
+.RE
+For FTP:
+.sp
+.sp
+.RS 4
+.nf
+aria2c \-\-ftp\-proxy=http://proxy:8080 ftp://host/file
+.fi
+.RE
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+Note
+See \fB\-\-http\-proxy\fR, \fB\-\-https\-proxy\fR, \fB\-\-ftp\-proxy\fR and \fB\-\-all\-proxy\fR for details\&. You can specify proxy in the environment variables\&. See ENVIRONMENT section\&.
+.sp
+.RE
+.sp
+.it 1 an-trap
+.nr an-no-space-flag 1
+.nr an-break-flag 1
+.br
+Proxy with authorization
+.RS
+.sp
+.RS 4
+.nf
+aria2c \-\-http\-proxy=http://username:password@proxy:8080 http://host/file
+.fi
+.RE
+.RE
 .SS "Metalink Download"
 .sp
 .it 1 an-trap

+ 27 - 1
doc/aria2c.1.html

@@ -1503,6 +1503,32 @@ contains "&amp;" or any characters that have special meaning in shell.</td>
 <td class="content">-j option specifies the number of parallel downloads.</td>
 </tr></table>
 </div>
+<h4 id="_using_proxy">Using proxy</h4>
+<div class="para"><p>For HTTP:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>aria2c --http-proxy=http://proxy:8080 http://host/file</tt></pre>
+</div></div>
+<div class="para"><p>For FTP:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>aria2c --ftp-proxy=http://proxy:8080 ftp://host/file</tt></pre>
+</div></div>
+<div class="admonitionblock">
+<table><tr>
+<td class="icon">
+<div class="title">Note</div>
+</td>
+<td class="content">See <strong>--http-proxy</strong>, <strong>--https-proxy</strong>, <strong>--ftp-proxy</strong> and <strong>--all-proxy</strong> for
+details.
+You can specify proxy in the environment variables. See ENVIRONMENT section.</td>
+</tr></table>
+</div>
+<h4 id="_proxy_with_authorization">Proxy with authorization</h4>
+<div class="listingblock">
+<div class="content">
+<pre><tt>aria2c --http-proxy=http://username:password@proxy:8080 http://host/file</tt></pre>
+</div></div>
 <h3 id="_metalink_download">Metalink Download</h3><div style="clear:left"></div>
 <h4 id="_download_files_with_remote_metalink">Download files with remote Metalink</h4>
 <div class="listingblock">
@@ -1962,7 +1988,7 @@ files in the program, then also delete it here.</p></div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2008-11-09 18:05:02 JST
+Last updated 2008-11-09 18:12:32 JST
 </div>
 </div>
 </body>

+ 22 - 0
doc/aria2c.1.txt

@@ -607,6 +607,28 @@ aria2c -ifiles.txt -j2
 [NOTE]
 -j option specifies the number of parallel downloads.
 
+Using proxy
+^^^^^^^^^^^
+For HTTP:
+------------------------------------------------------
+aria2c --http-proxy=http://proxy:8080 http://host/file
+------------------------------------------------------
+For FTP:
+------------------------------------------------------
+aria2c --ftp-proxy=http://proxy:8080 ftp://host/file
+------------------------------------------------------
+
+[NOTE]
+See *--http-proxy*, *--https-proxy*, *--ftp-proxy* and *--all-proxy* for
+details.
+You can specify proxy in the environment variables. See ENVIRONMENT section.
+
+Proxy with authorization
+^^^^^^^^^^^^^^^^^^^^^^^^
+------------------------------------------------------
+aria2c --http-proxy=http://username:password@proxy:8080 http://host/file
+------------------------------------------------------
+
 Metalink Download
 ~~~~~~~~~~~~~~~~~
 Download files with remote Metalink