Utility XMLRPC2SCGI
Synopsis
Command
Types
""
Empty type.
s/foobar "s/foo bar"
Explicit string type.
i/1234
Explicit integer type.
Target
The target must always be defined, even for commands that do not require any. In such cases "" should be used.
""
No target.
s/00112233445566778899AABBCCDDEEFF00112233
A download is set as the target using the hexadecimal of its info hash.
s/00112233445566778899AABBCCDDEEFF00112233:f123
A file target with its index.
s/00112233445566778899AABBCCDDEEFF00112233:p00112233445566778899AABBCCDDEEFF00112233
A peer target with its peer id as a hexadecimal.
s/00112233445566778899AABBCCDDEEFF00112233:t123
A tracker target with its index.
Examples
Using the xmlrpc2scgi.py script one can send SCGI commands directly to rTorrent.
Without the '-p' flag it will output the SCGI reply without prettifying: