[Kget] [Bug 138843] New: kget needs an autorename feature

brazzmonkey samuel.benoit at online.fr
Fri Dec 15 14:10:33 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=138843         
           Summary: kget needs an autorename feature
           Product: kget
           Version: 0.8.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kget kde org
        ReportedBy: samuel.benoit online fr


Version:           0.8.5 (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

kget seems to have problems when concurrently downloading 2 files having the same name (but different URL). this sometimes gives strange results. i don't report a bug here because this is not a big issue. i believe an autorename feature may help.

for instance :

i start to download (1) http://somewhere.com/file.ext
then i start to download (2) http://somewhereelse.com/file.ext before the first one is completed (same filename, different content).

it looks like kget seems to assume (1) and (2) are the same file when downloading, because i think it uses the same temporary file for both, therefore a corrupted file.ext is created, having chuncks from both (1) and (2) files. this generates odd results, especially with multimedia files.

if downloading (1) ends before (2), file.ext will already exists when downloading (2) will finish ; this generates an error as well, the existing file.ext needs to be renamed so that (2) will produce a new file.ext.


another issue is :
when starting to download file.ext, if another file.ext exists in destination folder, user will be prompted to overwrite or rename file. sometimes you just don't care about the name, so an autorename feature would be nice to have. back in my windows days, flashget used to have such a feature. i suppose a simple "-1" suffix would be sufficient. for instance, if file.ext already exists, a file-1.ext would be created automatically.

in short :
- i believe an autorename feature should be added to kget ;
- it should also take care about files already in download list in order not to mess with concurrent downloads of files with same filenames ;
- this could allow an efficient use of drop target, without the need to choose between overwriting or (manually) renaming destination file when such a file already exists.

thanks for any feedback.



More information about the Kget mailing list