Bug 244513

Summary: Cannot copy and paste file on remote sftp
Product: [Frameworks and Libraries] kio Reporter: Pascal d'Hermilly <pascal>
Component: sftpAssignee: Andreas Schneider <asn>
Status: RESOLVED DUPLICATE    
Severity: grave CC: finex, walmartshopper
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Pascal d'Hermilly 2010-07-13 17:17:07 UTC
Version:           unspecified (using Devel) 
OS:                Linux

KDE 4.4.92
I can't copy and paste a file in the same directory on sftp. it works fine on local disk.
Copying a local file to sftp location works.
copying from sftp location to local file works as well.

Reproducible: Always

Steps to Reproduce:
Go to some sftp location.
select a file.
copy and paste(ctrl+c , ctrl+v) it in the same folder.
Dolphin suggests a namechange. append ".txt" and click ok.

Actual Results:  
The copy process will hang. And dolphin will scare you by showing empty catalogs upon refresh since the copy process is hanging.
You can stop the copy process and Dolphin will show you your catalog, however file is not copied.

Expected Results:  
file copied, Dolphin shows new file.
Comment 1 FiNeX 2010-08-02 11:26:35 UTC
Cannot reproduce on KDE SC 4.4.5.

I've opened a bug report one year ago about a similar bug using FTP protocol: bug #187002 but it has been fixed.
Comment 2 Pascal d'Hermilly 2010-08-12 14:33:44 UTC
Problem persists on 4.5.0
Comment 3 walmartshopper 2010-08-27 21:28:34 UTC
I'm having this problem with the official Arch Linux KDE 4.5.0 packages.  In order to do the file copy, I have to ssh into the remote machine and copy from the command line. It worked fine in KDE 4.4.
Comment 4 FiNeX 2010-08-29 22:26:14 UTC
Confirmed in KDE 4.5 too
Comment 5 FiNeX 2010-09-12 15:18:30 UTC
Bug still reproducible with KDE 4.5.1 :-(
Comment 6 Andreas Schneider 2010-09-18 11:09:21 UTC
Thank you for taking the time to report this bug and helping to make KDE
better. I'm currently on vacation I will look at this when I'm back.

The sftp server isn't able to do a copy on the server. You need to transfer it to the local filesystem and then back to the server. I think there was a flag in in the protocol file to disable server side copy. I have to find the documentation for it.
Comment 7 Andreas Schneider 2010-10-04 23:00:50 UTC

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