Bug 51793 - when downloading file, won't prompt for overwrite
Summary: when downloading file, won't prompt for overwrite
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdelibs
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-15 10:02 UTC by Tim Waugh
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-21 12:12:20 UTC
Embargoed:


Attachments (Terms of Use)
small file (12 bytes, application/octet-stream)
2001-08-15 13:04 UTC, Tim Waugh
no flags Details

Description Tim Waugh 2001-08-15 10:02:06 UTC
Description of Problem:
When downloading a file using konqueror, if a file of that name already 
exists you won't be prompted to overwrite it.

Version-Release number of selected component (if applicable):
kdebase-2.2-3
kdelibs-2.2-5

How Reproducible:
100%

Steps to Reproduce:
1. 'echo oldfile > showattachment.cgi'
2. Use konqueror to view bug #51791
3. Click on the first attachment ('small file').
4. A dialog box will appear asking you where to save the file, with a 
default location 'showattachment.cgi'.  Click ok.
5. cat showattachment.cgi

Actual Results:
oldfile

Expected Results:
hello world

Additional Information:

Comment 1 Tim Waugh 2001-08-15 13:04:00 UTC
Created attachment 27933 [details]
small file

Comment 2 Tim Waugh 2001-08-15 13:04:23 UTC
Use the above attachment to test with.


Comment 3 Glen Foster 2001-08-15 19:55:42 UTC
We (Red Hat) should really try to fix this before next release.

Comment 4 Bernhard Rosenkraenzer 2001-08-21 11:03:58 UTC
Not quite as bad as it seems on the first look: It happens on files that are 
generated with "?foo=something" only.
(e.g. showattachment.cgi?attach_id=27933)

That file doesn't exist, so the dialog isn't brought up. The filename needs to 
be checked in a different place...


Comment 5 Bernhard Rosenkraenzer 2001-08-21 12:12:15 UTC
Looks more like a KIO::file_copy issue


Comment 6 Bernhard Rosenkraenzer 2001-08-22 13:44:54 UTC
The real problem is too complex to fix before rc2, added a workaround in 
kdebase-2.2-6




Note You need to log in before you can comment on or make changes to this bug.