Bug 138447

Summary: ftp kioslave overwrite files without warning
Product: [Unmaintained] kio Reporter: Raúl <rasasi78>
Component: ftpAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Wireshark capture when pressing CTRL-C, and then CTRL-V

Description Raúl 2006-12-06 14:31:27 UTC
Version:           3.5.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18rs

Within konqueror go to a ftp server you have write permissions on. Create a test file. Select it, press Ctrl-C. Deselect it. Press Ctrl-V.

The testing file will be truncated to 0 bytes. Instead of this, a warning dialog should appear asking to rename the file or at least an overwrite warning should appear.
Comment 1 Martin Koller 2006-12-17 18:42:44 UTC
Testing with 3.5.5 current HEAD I get a dialog telling me
"This action would overwrite ftp://.... with itself. Please enter a new filename"
Comment 2 Raúl 2006-12-18 19:44:02 UTC
If you mean this is a problem already solved in the last development repository, then I have nothing to object, since I'm only using the latest stable version which I think is still 3.5.5.

So we have three possibilities here:
a)I'm doing anything wrong or just not explaining properly.
b)This problem has been fixed after 3.5.5
c)Distro related bug.

I think the most plausible here is a), since http://websvn.kde.org/branches/KDE/3.5/kdelibs/kioslave/ftp was modified 2 months ago and if I'm correct modifications don't apply to this problem.

Regarding c), I don't think debian has any influence here, but I'll double check it.

By the way could be so kind to tell me what else could I do to show/explain this problem (maybe screenshots). Checked right now and happened again.

Thanks.
Comment 3 Martin Koller 2006-12-28 18:28:34 UTC
I can't say if it was fixed after 3.5.5 release (but there will be 3.5.6 soon, so you can check again with that).
You also could try with a different FTP site - probably it has something to do with the ftp server software.
You can also try to run a ftp server locally and try with this.
Comment 4 Martin Koller 2007-03-25 19:59:11 UTC
Did you try now with 3.5.6 ?
Comment 5 Raúl 2007-03-26 00:03:24 UTC
Thanks for caring. Right now on 3.5.6. I repeat the procedure and same result. The only difference is that now I attach a wireshark capture, so the problem is clearer.

Maybe you're right and is a FTP server problem. It's an Xbox dashboard (EvoX), I wouldn't use this for professional use BTW.
Comment 6 Raúl 2007-03-26 00:04:19 UTC
Created attachment 20103 [details]
Wireshark capture when pressing CTRL-C, and then CTRL-V
Comment 7 Pino Toscano 2008-06-09 03:10:48 UTC

*** This bug has been marked as a duplicate of 127793 ***