Save Link in Folder should work for you, in addition to the Right-click menu item there is a choice to select the folder right in the download action window. You need to have both the Firefox option and the Save Link in Folder options set to show the download dialog box before saving the download.

Ed

A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.

Guest

Guest

Posted January 6th, 2008, 8:51 am

Thank you so much, save link in folder was what i was looking for!

It would be nice to automate it (click on it and it would download to correct folder automatically) and i still got the feeling it should be something out ther that does it, but this works just fine.

Hello! Dreadfully sorry for necrobumping this thread (some 12 years later...), but I came across it in my search for how to do the same thing, and I have a solution for future travelers!

This will allow you to, on clicking the download button for a torrent file, automatically have it downloaded, with no further interaction, to a folder of your choosing. I am using Windows 10 and firefox 76. The steps are as follows:

1. Create a file named "move_torrent.bat". This file can be located wherever is convenient - I put mine in a folder called "bin" I created in my user directory.

replacing the path given with the folder path you desire the files to be moved to.

3. Save the file and test it. To test, create a blank text document, and drag it onto the .bat file. If this succeeds, the file should be moved to the torrent files directory. Great! If not, double check that the path you entered is correct.

Now here's where we have to get a little creative - I'd love to say "Hey firefox, open torrents with this script!", but firefox doesn't recognize anything other than .exe and .com files for this purpose. Well, those files and sometimes the windows default app...

4. Right-click a .torrent file. Select "Open With". Check the box to "Always use this app to open .torrent files". Click "More apps", scroll to the bottom, and click "Look for another app on this pc." Navigate to your move_torrents.bat file and select it. If this step succeeds, the torrent file you selected will be moved.

5. Download a torrent file in firefox (if you've set the preference to download that file type without asking, you'll have to go into about:preferences to change it to "Always ask"). When it asks what to do with the file, it should have the windows default - your batch script - selected. Check the box to always do this for .torrent files. (NOTE: this only works from the ask dialog as of now - you can't select the default app from the preferences menu). Check that the file was deposited into the correct location. If it was, success! You're done! If you'd like, test your setup by downloading another torrent.

The way this works is that when firefox opens a file in an app, it actually downloads it to a temporary directory, and then calls the program with an argument of the file path. The %1 in the batch script means "take the first argument and put it here." There is room for improvement in this method - you could check if the destination is available before moving, have a fallback directory if it's not (maybe the networked drive is offline?) and I'm sure a whole set of unknown unknowns. Still - I hope this is useful for someone else!