Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to write a script that determines whether or not uTorrent is currently downloading something. I'd rather it just be downloading, but if I cannot differentiate between downloading and uploading then it would be better than nothing.

One possible way would be check the whether any files ending in .!ut are locked - but I'm hoping for something a little more elegant.

My weapon of choice is VBScript but I'm happy to use the command line if needs be.

share|improve this question
5  
You may be interested in the uTorrent API. :) –  iglvzx Nov 29 '11 at 22:16

1 Answer 1

up vote 1 down vote accepted

To elaborate on iglvzx's comment, you can use uTorrent's Web API to get a list of active torrents. To use the API, all you have to do is enable it in the settings. Then, it's a simple HTTP GET call - can be to local host if your script runs on the same machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.