Bug 138843 - kget needs an autorename feature
Summary: kget needs an autorename feature
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: 0.8.5
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 14:10 UTC by brazzmonkey
Modified: 2007-12-02 17:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brazzmonkey 2006-12-15 14:10:31 UTC
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.
Comment 1 Dexter Magnific 2006-12-17 15:43:00 UTC
Yes, this feature is extremely important for me too ! Vote!
Comment 2 Urs Wolfer 2007-09-22 18:19:25 UTC
This issue is now fixed in trunk (KDE 4). (SVN commit 715621 by jgoday)
Comment 3 Narendran Kumaragurunathan 2007-12-02 17:21:07 UTC
When pasting a URL, there is no way I could change the name of the target file.