Page 1 of 1

Lost Incompletes after moving folder

PostPosted: 09 Apr 2011 19:33
by ceriank
I just changed my Downloads and Incomplete folder locations to another drive (Tools/Settings/Downloads), closed Shareaza R8961, moved contents to the new location and reopened Shareaza.
Shareaza knows the hash status, but list all as 0% complete and is starting to re-download again from scratch over the top of my existing partials.
Please tell me there is a quick fix for this... I thought this type of issue was put to rest long ago.

Oh... the 'Assume 100% and Reverify' is not finding the data in the few files I've tried. I've manually viewed the data in some that I know were mostly complete and it is there. Ouch!

[edit]I got it figured out. The .SD files were being read from the new Incomplete folder... but it began creating new .PARTIALS in the old Incomplete folder. I've copied just the original .PARTIAL files back to the original folder. I guess I have to maintain two Incomplete folders until my old download list is finished. I hope this information helps someone avoid some difficulties. Obviously, as a bug fix, it would be good to have the SD look for the PARTIAL in the same folder before creating a new partial in an old location.[/edit]

Re: Lost Incompletes after moving folder

PostPosted: 16 Apr 2011 13:25
by old_death
This sounds like a bug. It would be cool if you could create a ticket on our bug tracker. :mrgreen:

See our wiki for a link to our tracker (it is liked from the first page).

Re: Lost Incompletes after moving folder

PostPosted: 16 Apr 2011 14:52
by ceriank
Created ticket #155. My first time using the new bug tracker.

Re: Lost Incompletes after moving folder

PostPosted: 17 Apr 2011 00:07
by ailurophobe
I think this is not a bug, just a known "feature"... LOL. The sd files contain the path of the partial. Which since you copied them over would be the path for the old folder. I'd assume Shareaza is supposed to do the moving itself and handle modifying the sd files to match. Not sure if it does, since I've rarely needed to do this.

As for the merge problem it sounds like a bug/missing feature I ran into earlier. The merge requires that file extensions match. And uses the extension of the actual file, not the .partial extension of the temprary file for the match. This means that you need to rename the partials to correct extension to merge them. Since this was brought up this really should be fixed, the merge should only check the file size and ignore the extension, if the user merges the wrong file... Shareaza should let them, really. At most there should be a "Are you sure?" dialog. Or for a really smart system Shareaza could just use the hashsets it requires for merge to work to verify the file is correct. This could even be done automatically when loading batch torrents. Shareaza could check files of correct sizes in the library to see if they match the hashset and if they do merge them automatically.

Speaking of which, kudos to ryo for the multi-merge commit. Let me tell you, not having that feature can be pretty annoying if you need it...

Re: Lost Incompletes after moving folder

PostPosted: 19 Apr 2011 01:17
by ceriank
My feeling is that 'known features' should be well documented or obvious to be useful. In this case, I could see that if I had simply copied the files that it might make sense for the original .PARTIAL to still be used. However, I moved them instead. What if I had actually deleted the empty original Incomplete folder after I moved the contents... would Shareaza have recreated the folder in the old location? I don't know, but I would think there would be some way to trigger an automatic rediscovery of the .PARTIAL in the currently registered Incomplete folder where the .SDs reside.

BTW, I wasn't using the 'Merge with local file' feature, but the 'Assume 100%' feature, on the incorrect assumption that the .PARTIAL was the old mostly filled, not the new empty one. Then I discovered my error by finding the .PARTIALs in the old location. Ultimately I just copied the original file over the new one (into the old location) and then started Shareaza to perform the 'Assume 100%' on each file again. That worked fine.

Re: Lost Incompletes after moving folder

PostPosted: 19 Apr 2011 19:19
by ailurophobe
Yeah, there is a reason I put the "feature" in quotation marks... I guess that Shareaza, like most other programs, assumes that the user does not have any direct interaction with its temporary files.

Re: Lost Incompletes after moving folder

PostPosted: 21 Apr 2011 09:31
by old_death
... which is generally a bad assumption, if we can simply take the necessary information from the settings...

Re: Lost Incompletes after moving folder

PostPosted: 14 Mar 2013 12:53
by siavoshkc
Shareaza keeps the path of the incomplete files in sd files. The only way I know to move the incompletes is to 1)copy it to the place you want.
2)In win 7 (I do not support older versions of windows) when you open shareaza you see the list of downloads but 0 progress.
3)Open the properties for each download there you see the name of incomplete file.
4)Copy the name of incomplete file and switch to next tab "advanced?"
5)Select merge with local file and reverify
6)A file select dialogopens up, there you locate the original incompletes folder then paste file name (which is is hash) into search text box (win7 specific) then you should see two files with the same name one with .partial and one with .sd extension.
7)Select the partial file and click ok on any open dialog
8) you should see the content is added to the download
9)Do this for each download

Re: Lost Incompletes after moving folder

PostPosted: 25 Mar 2013 16:02
by raspopov
BTW this issue was fixed.