Jump to content

Relative path in "Store .torrent files in" doesn't work properly


V@no

Recommended Posts

Posted

Hello!

When used relatie path (./torrents), and uT opened by a browser (tested on IE6, when download window pops up, click on open, not save), it saves the .torrents in the browser's temporary directory instead. Next time uT started it can't find the .torrent file.

Posted

No, it isn't clearly a bug if it wasn't ever designed to handle relative paths natively. Making it handle relative paths would be a feature request.

At any rate, it's most definitely known, and the devs have inquired us about it several times in the past few weeks. Some steps have been taken to improve handling of relative paths for 1.8, but more will probably come if it's still not already implemented in full.

  • 3 months later...
Posted

hello,

--- 2007-11-13: Version 1.8 alpha (build 6104)

..

- Feature: support for relative paths with .torrent files

how do i specify them then? because it still keeps creating directory on desktop, and after completion, even though it moves torrent to complete directory near utorrent.exe, it then complains that it can't load the file..

Posted
how do i specify them then? because it still keeps creating directory on desktop, and after completion, even though it moves torrent to complete directory near utorrent.exe, it then complains that it can't load the file..

You are talking about several settings here... Ctr-P --> Other "\" is the windows slash ".\" usually works like in unix (for current directory) depending on the version of windows being run.

Back to "Storage for Torrent File" and "Move Torrents for Finished Jobs" the first has nothing to do with the second. You do not need both enabled. If "Move..." is selected, upon completion of the torrent the file will be moved to selected path. Being unable to load the torrent file, if you're talking about "Error: Unable to load \path\to\torrent" in "STATUS" column that is a problem with your setup... Please screenshot the error with the status column fully-expanded (double-click on the right margin of it) to verify it is indeed a problem with relative pathing

Posted

*shrug*

again.

my utorrent is portable. im keeping my settings.dat, and resume.dat with my utorrent.exe. I also want "store torrents in" and "move completed torrents to" to be in same directory as utorrent.exe. So in settings i enter ".\torrents" and ".\complete". And it doesnt work. When i add a torrent it creates "torrents" folder on desktop and puts it there..

Posted

K well without any path indicator that definitely means it's not working as you want it to.

There is no need to get bent out of shape, as it were. No dev has stated "this is working as intended/fixed/bugged" What I am trying to do is help you. It would appear either it is used the CWD (current working directory) when you start the program.

First off, "open" torrent WILL NOT HELP if you do not have the "store torrent files in" set to an existing directory where it can find it later (the main problem reported here). Secondly it will store it relative to the launching directory.

I confirmed it with my own instance here. EX: my setup is Ctrl-P -> Other "store torrent files in" .\Torrents . This created a directory under the current working directory of Torrents.

Are you sure you set the right directory?

Edit: Are you using Firefox browser? The default auto-save folder there is the Desktop... Just because that's where it saves doesn't mean that's where uT looks for the torrent, especially if you have "auto-load torrents from ___ folder" set.

Edit: Tested with BOTH .\Torrents and Torrents. Both locations correspond to \Torrents off the current working directory. Perhaps you didn't launch it from the correct location, or the shortcut you used set the working directory to the desktop?

In either case, your symptom doesn't match your settings.

Posted

uhm, yes, i set it to ".\torrents" and ".\complete", but problem is, i have no idea what is working directory (i use start menu, or launchy, or far manager, or windows explorer to launch utorrent, so it might be different each time), i just want it to sit together with utorrent.exe..

Posted

Go to where you want to launch uTorrent from, right click, create new -> shortcut . Set run-path for µTorrent.exe Rename shortcut to your liking.

Then right click, properties, --> Shortcut tab. There is an entry there for "start in" Does it say desktop there?

Edit: I would recommend after you make a shortcut to suit your preference to copy it wherever you are likely to launch uT from... multiple instances of uTorrent is an advanced feature not for the faint-hearted

Glad to see it appears your shortcut works :D Be sure to copy it in all places you would usually launch µT from... Quick Launch, Start Menu, Desktop, My Documents, etc.

Posted

i wouldnt exactly call myself faint-hearted :)

the reason i use multiple ways to start utorrent, is because, well, thats how i work lol. i can't specify startup path when using launchy, and besides, it uses .exe path anyway. to confirm that i started utorrent with launchy, then started process explorer, then looked up "current directory" for utorrent.exe process, and indeed it was correct - the same directory as utorrent, and NOT desktop. so the bug must lie somewhere else..

Posted

As I said setting the start-in folder with the shortcut, and adding relative ".\Torrents" and blank "Torrents" paths provided the same functionality... Perhaps you can send me your .lnk file?

And you're sure in your downloading application you are telling it to "save to" instead of "open from here" ?

Posted

Are you using IE6 as the person above you who originally started this thread is?

Again I cannot think of another program other than Firefox with a default save-to folder of the Desktop. If it is creating on the Desktop you are not opening it from the location. Opening the Torrent from its present location would save it in the browser's temporary folder, or the TEMP/TMP environment variable. It would not put it in the Desktop.

Please send me your shortcut (.lnk file) that you use to run the uTorrent.exe

Posted

And it's not IE which is putting torrent file on desktop. It's utorrent. I start utorrent manually from it's directory, without any shortcut. I then go to IE, fine torrent file, click on it, click "open from here", utorrent pops up and the torrent appears in utorrent, but BAM, folder called "torrents" appears on desktop, and that torrent file is put in there. So for some reason, utorrent creates "store torrents in" folder not together with it's exe, but on desktop. Even though i have ".\torrents" entered in settings.

Posted

As I said. Send me your shortcut.

You MUST have a shortcut. You don't copy your whole folder to the start menu. This would create multiple instances of uTorrent. Again uTorrent is not saving anything. Your default internet browser is using filetype identifiers to know what to do with it (ex: open with uT). uT adds this function when you associate it with .torrent files. The only way aside from your default-save in the internet browser being the desktop would be if there was an environment variable for that under (Windows key + Pause/Break) --> Advanced tab, bottom portion click on "Environment Variables".

As I have said launching uT from a shortcut is easy, fun, and customizable. I will admit prior to this evening I completely glossed over the "open" instead of "save to" since I auto-load all downloaded torrents. However I have a full .\torrents\torrents\torrents directory structure to confirm this is working. Until you show me a shortcut you use to launch uT from I will not continue this "debate" since your first "proof" is that "wherever I launch uT from this happens", and now you say it happens when you start it from its home directory. First prove that you launch uT from anywhere OTHER than the home directory by providing a shortcut.

Posted

no, i dont HAVE to have a shortcut, i can start windows explorer, navigate to my utorrent folder, and double click on utorrent.exe, and there, i just skipped whole shortcutting business. same if i launch it with launchy, far manager, or whatever else. now, utorrent IS saving a copy of .torrent file, if i have a checkbox in options enabled, which says "store .torrent files in:". so if i click "open from here" in IE, it saves .torrent file somewhere in browser cache, uses windows file associations to figure out associated application, which turns to be utorrent, and then passes this file to utorrent. utorrent opens it, and is supposed to put a copy of this file in a directory i set in options near checkbox "store .torrent files in:". and it does all that just fine if i specify a full path in that option entry. but my problem is, that i don't want to specify a full path there, because i want that copy to be stored in a subdirectory of utorrent exe file, and same thing with completed torrents. and thats when it fails..

and just to make it very very easy:

make a copy of your utorrent.exe and place it in c:\testie, and place there your .dat files aswell, to make a working portable copy of utorrent.

now, please setup this portable copy of utorrent so that all .torrent files would be placed in c:\testie\torrents, and all completed torrents would be placed in c:\testie\completed - all that without using full paths, as this is our portable utorrent, and we don't want any full paths..

Posted

As I said before if you are not using a shortcut, you are at the mercy of windows using the "CWD" or current working directory wherever you happen to be.

Also to be fair, I have untested your specific settings because I do not wish to close my other running uTorrent instances and /recover (from a shortcut OR the command line) is the only way to address such a thing. However in all test cases I do, where I can see the current working directory and start-in path, it is indeed saving the torrents in "\Torrents" from wherever it happens to be, which is working as the function describes. If you are unable to create a shortcut I can help you with the process as well as specific parameters you may want to use.

I notice you are completely backtracking from your original assertion that it saves in the same place no matter where you start uTorrent from, does this mean you indeed are noticing the different \Torrents paths in those locations based upon where you are launching it from?

Posted

I can confirm and am 100% sure that my CWD of utorrent process is correctly set to utorrent path. Anyway, for some reason it no longer creates torrents folder on desktop, puts torrent files in correct folders, but still fails to load torrent file from completed folder. Just to be nice and sure, i did create shortcut:

target: C:\Tools\Network\uTorrent\utorrent.exe

start in: C:\Tools\Network\uTorrent

i then ran utorrent with this shortcut, added a torrent, completed it, restarted utorrent and got error "error loading .\completed\blabla.torrent"

there still exists some kind of problem there..

Archived

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

×
×
  • Create New...