Version: (using KDE 4.1.0) OS: Linux Installed from: Fedora RPMs After successfully downloading files with "unknown" size, kget downloads them again on subsequent operations. This repeats each time kget runs unless the files are removed from the list.
Does this also happen if such a download has been finished before you quit KGet?
well, afaik (boom1992 told me), this is a known bug. kget doesn't save the info about transfer state now. So every time kget starts up, it just restart everything, and it's up to the transfer-plugin to determine whether to start it again. When this comes to KIO, it will query the size of the download and see if there is a file with same size in the directory. So if there is no size info from the server, it always restarts it. This can be fixed by saving transfer state in the list.
Yes, this is true :) It's pretty easy to fix, just save the state of the Transfer :) Lukas
Yes, it does restart previous downloads that have successfully completed. It would also be nice to add the option to cleanup all successful downloads on exit. As it is, the user must manually cleanup. Ugly.
Can you test if this Bugreport is still valid? Lukas
Yes, still exists in KGet 2.1.3 (KDE 4.1.3). Steps to reproduce. 1. Download any of the images from this site: http://www.wallpaperweb.org/wallpaper/space/gallery_1.htm 2. Note the filesize in KGet is 'n/a'. 3. Delete the downloaded image. 4. Download a different image. 5. New image will be downloaded as well as the original (again).
Well for me it does not show filesize == n/a, I tried 2 image and both had a file-size... Lukas
Problem still present in 4.2.3.
SVN commit 1001434 by pfeiffer: BUG: 170496 CCMAIL: kget@kde.org do not save finished transfers in the transfers.kgt list at all M +8 -4 transfergroup.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1001434
SVN commit 1001436 by pfeiffer: BUG: 170496 forward port from 4.3 branch: do not save finished transfers in the transfers.kgt file at all M +6 -2 transfergroup.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1001436
*** Bug 201146 has been marked as a duplicate of this bug. ***
*** Bug 185155 has been marked as a duplicate of this bug. ***
Looks like this bug has just been reintroduced in trunk...
Yeap, let's mark it as that... Lukas
SVN commit 1022402 by mfuchs: Downloads with KIO that were downloaded elsewhere (e.g. Konqueror) do not restart anymore. BUG:170496 M +24 -3 transferKio.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1022402
SVN commit 1022408 by mfuchs: Backport r1022402 Downloads with KIO that were downloaded elsewhere (e.g. Konqueror) do not restart anymore. CCBUG:170496 M +23 -0 transferKio.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1022408