StormWalkerEC Posted May 30, 2011 Report Share Posted May 30, 2011 GreetingsHope this is the correct area as I can but only assume that the ability is available to the webapi/ui only, so posting here. Did search if its a known issue but could not find anything (Incorrect terms ?), so if there is something already, I apologize.I have the latest Beta build - 25329 - and WebUI - v0.381 - both the webui and my api script give the same error.For the sake of cutting out any of my scripting, I shall use the webui onlyClick Add Torrent, Browse to the file.Select any path (I made a Directory, so the code index is 1)Leave Sub-path emptyTorrent uploads into uTorrentDuplicate the above, but enter anything into the Sub-pathUsing Firebug it shows the following: invalid requestSame with if i post using the apigui/?action=add-file&download_dir=1&path=Shows: {"build":25329} gui/?action=add-file&download_dir=1&path=anytxtShows: invalid requestIn both the webui/api i have tried anytxt, /anytxt, \anytxtAll give the same errorI even tried changing &path to &sub_path, and it goes through, but I assume its the same as &path=hence why it worksAny help will be much appreciated.StormWalkerEC Link to comment Share on other sites More sharing options...
Ultima Posted May 31, 2011 Report Share Posted May 31, 2011 It's an old, known bug (or limitation) in the backend. The sub-path doesn't work unless the directory already exists on the filesystem. Which makes the feature almost completely useless in many cases.Edit: You'll notice it was actually mentioned in the release notes the version in WebUI in which I first implemented this. Link to comment Share on other sites More sharing options...
StormWalkerEC Posted May 31, 2011 Author Report Share Posted May 31, 2011 Awsome !!!Creating the directory does make the path feature work, so i can just make a code to pre-create the directory before running the API code.Thanks for your help !! Link to comment Share on other sites More sharing options...
Firon Posted June 1, 2011 Report Share Posted June 1, 2011 This is a dumb limitation. I'll discuss fixing it with the team. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.