X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fintegration%2Fbittorrent.texi;h=a7ff789a7aec4baa960b3e82360ea66d01938e49;hb=7058f97373b95cb0e19b48a424d95fc850614da8;hp=841391e5933fab304360d0b611c7885d8ba0b20d;hpb=9d09491dd928ed16e357795d8818dbc9153a1d49;p=nncp.git diff --git a/doc/integration/bittorrent.texi b/doc/integration/bittorrent.texi index 841391e..a7ff789 100644 --- a/doc/integration/bittorrent.texi +++ b/doc/integration/bittorrent.texi @@ -1,4 +1,5 @@ @node BitTorrent +@cindex BitTorrent integration @section BitTorrent and huge files If dealing with @ref{Git}, @ref{Feeds, web feeds} and @ref{Multimedia, @@ -6,6 +7,7 @@ multimedia} goes relatively fast, then BitTorrent and huge files consumes much time. You can not wait for downloads finish, but want to queue them after. +@pindex aria2 @url{http://aria2.github.io/, aria2} multi-protocol download utility could be used for solving that issue conveniently. It supports HTTP, HTTPS, FTP, SFTP and BitTorrent protocols, together with @@ -15,6 +17,7 @@ URIs, Web-seeding, selective downloads, LPD. @command{aria2} can accelerate HTTP*/*FTP downloads by segmented multiple parallel connections. +@pindex aria2-downloaded.sh You can queue you files after they are completely downloaded. @file{aria2-downloaded.sh} contents: @@ -28,12 +31,12 @@ with the jobs you want to download: $ cat jobs http://www.nncpgo.org/download/nncp-0.11.tar.xz out=nncp.txz -http://www.nncpgo.org/download/nncp-0.11.tar.xz.sig - out=nncp.txz.sig +http://www.nncpgo.org/download/nncp-0.11.tar.xz.asc + out=nncp.txz.asc $ aria2c \ --on-download-complete aria2-downloaded.sh \ --input-file jobs @end example -and all that downloaded (@file{nncp.txz}, @file{nncp.txz.sig}) files +and all that downloaded (@file{nncp.txz}, @file{nncp.txz.asc}) files will be sent to @file{remote.node} when finished.