Jump to content

WebAPI change torrent location?


Petoj87

Recommended Posts

Posted

Well im writing a simple app that scans the disk for .torrent files and adds them via the web api so far so good, but my idea was to download the result to the same location as the torrent file is this possible i can't find any way..

Posted

Thanks for the fast answer, so my next approach was to change the setting "dir_active_download" but the action=setsetting seems to give me "(400) Bad Request." what am i doing wrong?

my url for this was

http://[iP]:[port]/gui/?action=setsetting&s=dir_active_download&v=G:\Download2&token=[TokenHere]

second try was

http://[iP]:[port]/gui/?action=setsetting&s=dir_active_download&v=G%3A%5CDownload2&token=[TokenHere]

why did this not work?

Edit: got it to work im not sure what made it work i changed the order of the url so i have the token first and i added t=timestamp...

Archived

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

×
×
  • Create New...