Commit Graph

43 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
e2932608fc Add --pause-metadata option
This option pauses downloads created as a result of metadata
download. There are 3 types of metadata downloads in aria2: (1)
downloading .torrent file. (2) downloading torrent metadata using
magnet link. (3) downloading metalink file.  These metadata downloads
will generate downloads using their metadata. This option pauses these
subsequent downloads.
2014-06-21 00:58:21 +09:00
Tatsuhiro Tsujikawa
169cd6a309 aria2rpc: Fix non-TLS connection 2014-03-15 19:28:46 +09:00
David Macek
4dea7ae5cf ENH: Added support for RPC channel encryption in aria2rpc 2014-03-11 10:54:18 +01:00
Tatsuhiro Tsujikawa
a8319a8b78 Add aria2.saveSession RPC method
This method saves the current session to a file specified by
--save-session option. This method returns "OK" if it succeeds.
2014-02-19 22:02:50 +09:00
Tatsuhiro Tsujikawa
7f6987a4b4 Implement new RPC authorization using --rpc-secret option 2014-02-02 17:34:07 +09:00
Tatsuhiro Tsujikawa
0001f4cfbd Added --gid option
This option sets GID manually. aria2 identifies each download by the
ID called GID. The GID must be hex string of 16 characters, thus
[0-9a-zA-Z] are allowed and leading zeros must not be stripped. The
GID all 0 is reserved and must not be used. The GID must be unique,
otherwise error is reported and the download is not added.  This
option is useful when restoring the sessions saved using
--save-session option. If this option is not used, new GID is
generated by aria2.
2012-12-16 18:22:13 +09:00
Tatsuhiro Tsujikawa
e83b03b2cd aria2rpc: Added appendUri command
This command calls aria2.changeUri(GID, fileIndex, [], [URI,...])
internally.
2012-09-23 22:38:52 +09:00
Tatsuhiro Tsujikawa
2ef6b34e60 Made --download-result, --save-session, --server-stat-of and
--save-cookies option available in aria2.changeGlobalOption.
2011-10-22 23:08:40 +09:00
Tatsuhiro Tsujikawa
1872aef953 Made --max-download-result option available in aria2.changeGlobalOption. 2011-10-22 22:43:07 +09:00
Tatsuhiro Tsujikawa
c8ed44b18f Made --uri-selector option available in -i list. 2011-10-22 21:49:46 +09:00
Tatsuhiro Tsujikawa
9fb6edd60f Added --piece-length option to aria2rpc 2011-09-27 22:28:21 +09:00
Tatsuhiro Tsujikawa
303cffec8d Added getServers and forceRemove method to aria2rpc 2011-09-27 22:25:47 +09:00
Tatsuhiro Tsujikawa
8346b71593 Added --checksum option to aria2rpc 2011-08-23 17:55:39 +09:00
Tatsuhiro Tsujikawa
73f049bf9a Added --hash-check-only option to aria2rpc 2011-08-22 23:39:51 +09:00
Tatsuhiro Tsujikawa
ee1223210d Added --log option to aria2rpc 2011-07-13 22:53:21 +09:00
Tatsuhiro Tsujikawa
cc7bc0aad3 Added aria2.getGlobalStat RPC method.
It returns overall download/upload speed and the number of
active/stopped/waiting downloads.
2011-06-17 22:45:42 +09:00
Tatsuhiro Tsujikawa
beb9bb5646 Added --pause and --stream-piece-selector option to aria2rpc.
Short options for --max-connection-per-server and --min-split-size
option were also added.
2011-06-16 22:02:31 +09:00
Tatsuhiro Tsujikawa
0c65c3606e Made bool type argument as optional. 2011-05-16 22:49:53 +09:00
Tatsuhiro Tsujikawa
4dc71647f8 Added --metalink-base-uri option to -i list options. 2011-05-16 22:45:53 +09:00
Tatsuhiro Tsujikawa
fe40876546 Added aria2.removeDownloadResult XML-RPC method.
The method signature is aria2.removeDownloadResult(gid).  This method
removes completed/error/removed download denoted by gid from
memory. This method returns "OK" for success.
2011-01-20 00:56:34 +09:00
Tatsuhiro Tsujikawa
6644501db7 Fixed bug that --retry-wait option does not work in aria2rpc. 2011-01-17 21:45:33 +09:00
Tatsuhiro Tsujikawa
79ccd42eaf Added --retry-wait option to aria2rpc 2011-01-17 21:36:13 +09:00
Tatsuhiro Tsujikawa
73edc6d0fc 2010-10-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added keys parameter to tellStatus, tellActive, tellStopped and
	tellWaiting.
	* doc/xmlrpc/aria2rpc
2010-10-12 11:53:36 +00:00
Tatsuhiro Tsujikawa
33da745070 2010-08-27 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-tracker and bt-exclude-tracker to -i list option.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
2010-08-27 11:58:10 +00:00
Tatsuhiro Tsujikawa
d8ce5db577 2010-07-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added max-connection-per-server, min-split-size and
	conditional-get option to -i list option and aria2rpc.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
2010-07-19 04:46:04 +00:00
Tatsuhiro Tsujikawa
a8f57aa85f 2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added aria2.pause, aria2.forcePause, aria2.pauseAll,
	aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
	method to aria2rpc
	* doc/xmlrpc/aria2rpc
2010-04-14 12:55:26 +00:00
Tatsuhiro Tsujikawa
d4b8522ad3 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added shutdown and forceShutdown to aria2rpc
	* doc/xmlrpc/aria2rpc
2010-04-03 08:39:58 +00:00
Tatsuhiro Tsujikawa
3139b5fe48 2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-tracker-timeout, bt-tracker-connect-timeout,
	always-resume, max-resume-failure-tries and http-accept-gzip to -i
	list options.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
2010-04-03 04:25:29 +00:00
Tatsuhiro Tsujikawa
90bc2ccffc 2010-03-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --remove-control-file option to -i list options.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
2010-03-25 14:51:41 +00:00
Tatsuhiro Tsujikawa
dc059bfc29 2010-03-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added bt-enable-lpt, reuse-uri
	and {http,https,ftp,all}-proxy-{user,passwd} options to -i list
	options.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/download_helper.cc
2010-03-11 15:32:36 +00:00
Tatsuhiro Tsujikawa
7e6cdae00b 2010-01-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing command line options: --http-no-cache,
	--bt-save-metadata and --bt-metadata-only.
	* doc/xmlrpc/aria2rpc
2010-01-23 09:03:35 +00:00
Tatsuhiro Tsujikawa
f2722cb870 2010-01-17 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added aria2.getSessionInfo XML-RPC method.  This method returns a
	struct containing Session ID, which is generated each time when
	aria2 is invoked.
	* doc/aria2c.1.txt
	* doc/xmlrpc/aria2rpc
	* src/DownloadEngine.cc
	* src/DownloadEngine.h
	* src/XmlRpcMethodFactory.cc
	* src/XmlRpcMethodImpl.cc
	* src/XmlRpcMethodImpl.h
	* test/XmlRpcMethodTest.cc
2010-01-17 11:55:22 +00:00
Tatsuhiro Tsujikawa
17a1bfea09 2009-12-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added tellStopped XML-RPC method to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-25 14:46:59 +00:00
Tatsuhiro Tsujikawa
f927654103 2009-12-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added changePosition to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-21 15:28:12 +00:00
Tatsuhiro Tsujikawa
d78b2721a5 2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added getOption and getGlobalOption to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-20 14:48:28 +00:00
Tatsuhiro Tsujikawa
e80079c9b6 2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added --bt-prioritize-piece option to aria2rpc.
	* doc/xmlrpc/aria2rpc
2009-12-10 12:48:17 +00:00
Tatsuhiro Tsujikawa
cf24e86f81 2009-12-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that line separator is missing in horizontal bar.
	* doc/xmlrpc/aria2mon
2009-12-09 14:44:01 +00:00
Tatsuhiro Tsujikawa
83e87160ac 2009-10-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed server, port, user and passwd key from options before
	XMLRPC::Client.call since they are not options of aria2.
	* doc/xmlrpc/aria2mon
	* doc/xmlrpc/aria2rpc
2009-10-04 13:27:09 +00:00
Tatsuhiro Tsujikawa
1cd092f6a1 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated banner
	* doc/xmlrpc/aria2rpc
2009-09-28 15:17:44 +00:00
Tatsuhiro Tsujikawa
ca96fb4946 2009-09-29 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added missing help message for remove command.
	* doc/xmlrpc/aria2rpc
2009-09-28 15:15:56 +00:00
Tatsuhiro Tsujikawa
ca49afce13 2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed --retry-wait option from aria2rpc
	* doc/xmlrpc/aria2rpc
2009-09-20 09:07:00 +00:00
Tatsuhiro Tsujikawa
6dc8f7eb05 2009-09-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added README.txt for xmlrpc directory.
	* doc/Makefile.am
	* doc/xmlrpc/README.txt
2009-09-07 14:00:15 +00:00
Tatsuhiro Tsujikawa
d85743cd6d 2009-09-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added XML-RPC client scripts written in ruby.
	* doc/Makefile.am
	* doc/xmlrpc/aria2mon
	* doc/xmlrpc/aria2rpc
2009-09-01 15:11:54 +00:00