-
Edit: Added a synopsis at the start, fixed a grammatical error and modified the title of the final paragraph Synopsis I guess I'm posing the following questions; all are relevant, but may become irrelevant to what I want to do, as you will see, depending upon the answer(s).
Introduction Background to My Question My main PC runs the latest version of the Java based XDM. I am wondering if I can install the latest DotNet XDM alongside the Java one, without issue? In theory this should be possible, however I'm wondering how this would play out in practise - the same App ID, registry settings, AppData location, are they all the same? If so, then what I want to do is not going to work without breaking my existing set up... Why am I considering this? And what I plan to do A note for the interested: This works, I've done it before (but not between different machines running different versions of XDM-before I put the USB stick into my tablet, I tried downloading another file that happened to be too large for the internal storage. I was not aware of the size of the download until it was too late. When this filled up, I changed the locations of the temp and download to be the D: drive, my USB stick, and copied the contents of the partially downloaded from C:...\AppData... into a new download of the same file located in the new D:\temp folder). Whilst it will have a different ID, it doesn't care what's in its folder, since the chunk.db.1 are all going to be correct, and it's the same target zip file (obviously closing XDM whilst I copy the already-downloaded data). The main PC, with terrabytes of space available, will happily stitch together the zip without giving that annoying "Disk full or read-only" message. Do I even need to run the same version of XDM? Now, if the answer to that first question is, yes, the logic has changed slightly, then I'll need to install v8.0.29 on my PC so that it is the same version as my tablet. Is that going to affect my existing installation of XDM? And if it is, then we're back to the question I posed at the beginning of this thread, can I have two versions of XDM on the same machine running happily alongside each other? - Again, for the interested third party, examples of breaking changes could be: we're using different IDs or something silly like INT sizes or little/big endian and not recognising the IDs created in a newer version of XDM but opened in an older version. **Signing off (and possible feature request! And volunteering to look at it if you agree) ** Good luck and, once again, thanks for providing me with years of trouble free download management! Nos |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Okay, answerng part of my own question: Installing v8.0.29 when v7.2.11 exists Okay now I've gotten that small rant out of the way; the Java-based app uses a different default location for its AppData, and thus the temporary data folder is different:
The DotNet app uses this default location:
In the start menu, it seems searching I had a few active downloads left in XDM v7.2.11, and for the purpose of this discussion I deliberately paused them, since I don't mind losing whatever they where (I started them a while ago, and if I haven't gotten around to finishing them by now, they really don't matter all that much!) But, for anyone interested, they're not available from the v8 interface (at least, not without migrating them from the old app location into the new one - that's more difficult than simply copy/moving the files over. You'd have to start new downloads for each, then find the right hash and copy the contents of each from the old folder, into the new hash ID folder. Since v8 has a clean slate with nothing running, it will be easy to find the new ID, since no folders exist yet in /temp! It's locating the old ones thats a little trickier, since you'd need to ensure the right target file to be able to kick off a new download, and ensuring the right partial chunks are put into the newly created folder (with it's different hash ID - the different name won't matter, so long as you're copying all the chunks and the .db files into this folder, it'll all just...work). Logic for combining chunks |
Beta Was this translation helpful? Give feedback.
-
Okay, I now have enough information to basically answer my own questions (aside from the question I posed to the author RE: potential use case).
Yes, we can! Because of the above, I have not explored whether this will work with a download started in v8.0.29 nd being copied into v7.2.11 (I hazard a guess of yes. but don't quote me). This is what I did for my partial (completed but unstictched) download on my Win 10 tablet.
So once we started and stopped the download and closed XDM: Oh, ensure we copy to another machine which has enough space to be able to stitch the download (the contents of the temp folder; NOT the actual folder, since XDM will generate a new hash ID for a new download) We open the Temp location of XDM, and watch this folder whilst we start/stop a download of the same target file. We're watching for the newly created folder (don't worry if you don't do this, you'll just be making it slightly more difficult to work out which folder relates to the new download. That is unless its empty, because you've no partials currently, in which case, you're sorted!) We start, and stop, a download on our new machine. Ensuring XDM is not running (remember to close it in the task bar too, not just the open app window. It likes to hide away in the task tray ready to interept your browser links, so close this too). Delete the contents of this newly created folder, because we don't need those empty chunks or the associated .db files. We're replacing those with the ones from our completed but unassembled donor download! Again, it's the CONTENTS we're interested in, not the folder name. We cannot copy the folder directly, so rubber-band select all the chunks and the db files, then drag them over and into the new download's folder. Specifically, we navigate to the new folder, and enter the folder created for the download (and if you're not sure which partial download you're searching for, because you've already got other partial downloads, you can open the .xdm-app-data\Data\ folder and open each of the .info file in Notepad. Do not modify the .info contents, we're just using this to locate the download link and thus verify the name of the download.) Using the file name of the .info file, we can rescue and stitch together the download which is located in the folder of the same name as the .info - this name, btw, is an ID string or a Hash - I dunno which method he's using to generate (that's the abcdef-0123-456f-0987654fedc that the .info file is named as, as I say, that file has a correspondingly named folder with the same ID. You'll copy the CONTENTS of the folder, but not the folder itself, over into the new folder). Once we've got the partial but unassembled chunks and db files in place in their new location, we go ahead and open XDM and resume the download. It will start assembling the chunks if you've done everything right! Waayhay |
Beta Was this translation helpful? Give feedback.
Okay, I now have enough information to basically answer my own questions (aside from the question I posed to the author RE: potential use case).