Jump to content

Associate torrent files with WebUI


matejdro

Recommended Posts

It may sounds weird, but i want to control utorrent completely from another machine, including adding new torrents, so i want to simplify the process.

Is there any way to somehow associate .torrent files so they get instantly sent to remote utorrent client when double clicking?

EDIT: oops, my bad. Can someone move this to WebUI section please?

Link to comment
Share on other sites

If you can write code there is a web API and you could associate a custom executable with the file extension stored here:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.torrent\OpenWithList

(Assuming you are using WIndoze)

This function from the API might do:

http://[iP]:[PORT]/gui/?action=add-file

This action is different from the other actions in that it uses HTTP POST instead of HTTP GET to submit data to µTorrent. The HTTP form must use an enctype of "multipart/form-data" and have an input field of type "file" with name "torrent_file" that stores the local path to the file to upload to µTorrent.

http://forum.utorrent.com/viewtopic.php?id=25661#p318056

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...