Bug 180389 - Renaming a download fails when trying to "save link as" in konqueror
Summary: Renaming a download fails when trying to "save link as" in konqueror
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
: 184267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-11 23:30 UTC by kgw
Modified: 2009-07-23 12:05 UTC (History)
7 users (show)

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 kgw 2009-01-11 23:30:31 UTC
Version:           Version 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090106)) (using Devel)
Installed from:    Compiled sources

When trying to download a file from konqueror by right clicking a link and then entering a different name for the file invariably fails, the file get's downloaded under it's original file name. Trying to save the same file again (for example because it is the output from a server side process) without clearing the name fails completely.
Comment 1 Diogo 2009-01-16 17:21:53 UTC
It happens here also, I am using KDE 4.2 RC1 in Kubuntu intrepid.
I select "save as" and change the output file name but kget keep the original filename.

Comment 2 Tommi Tervo 2009-02-14 09:00:55 UTC
*** Bug 184267 has been marked as a duplicate of this bug. ***
Comment 3 p_c_chan 2009-05-24 20:18:18 UTC
Konqueror issues the following command for saving to a filename different from the source:

kget http://<src directory + src filename> file:///<dst directory + dst filename>

In 3.5 kget would save to <dst directory + dst filename>
In 4.2 kget would save to <dst directory + src filename>

There could be a change of command parameters in 4.2 kget but I could not find man pages for kget.  If it is, 4.2 konqueror has to adapt to the new format.

For now, I've downloaded kget to 3.5.10 manually,  it works find with 4/2.2 konqueror.
Comment 4 Jean-Francois LAMERE 2009-05-30 17:27:56 UTC
This bug is still there (openSUSE 11.1 KDE 4.2.88).
If you have already downloaded a file with the same name before, kget doesn't start the download but you have no error message.
Comment 5 Florian Loitsch 2009-07-18 17:35:34 UTC
confirmed under KDE 4.2.96 (KDE4.3 RC2).
suppose kget is called with
/usr/bin/kget http://foo.com/bar file:///toto/titi
then (on my machine) kget asks if we want to rename the download cause
"a similar file name '/toto' already exists".
Comment 6 Rettich 2009-07-18 17:47:59 UTC
See this bug https://bugs.kde.org/show_bug.cgi?id=185155
Comment 7 Carsten Pfeiffer 2009-07-22 22:43:18 UTC
This should be fixed by now (the changes were discussed in #188673), but I can't test it at the moment.
Comment 8 Diogo 2009-07-23 03:18:29 UTC
BUG still there in 4.3RC2. The behavior it's not the same but there is still a bug.

This is what happens in KDE 4.3 RC2. When I select "save file as" the kget opens the dialog to choose the name of the file. When I write the name of the file and press OK, kget opens a new dialog. This dialog says that a file with this name already exists (what is not true) and it has a text box to the user to write the new name for the file.
Comment 9 Carsten Pfeiffer 2009-07-23 09:15:50 UTC
Yes, it's only fixed since yesterday (so not even in RC3).