Bug 267135

Summary: Cannot copy anything from sftp:// to sftp://
Product: [Frameworks and Libraries] kio Reporter: tony <lorefice2>
Component: sftpAssignee: Andreas Schneider <asn>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asn, frank78ac, jsardid, mwas1, stefan
Priority: NOR    
Version: 4.6   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description tony 2011-02-25 10:26:16 UTC
Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

Trying to copy even a small file between two servers connected via kio/sftp hangs.

Reproducible: Didn't try

Steps to Reproduce:
have server1 and server2 accepting sftp connections on port 22
have a client with kde4.6

open dolphin on the client, hit f3
in the left panel connect to sftp://server1
in the right panel connect to sftp://server2
create a file on server 1
copy that file in dolphin
paste it into server 2

Actual Results:  
Nothification icon begins to "turn"
progress stays to 0% forever (or for a very long time, i didn't waited more than 5 minutes...)

Expected Results:  
to copy the file from server 1 to server 2

if i copy that file to local disk and then transfer it to server 2, it works.
Comment 1 Michael 2011-02-26 01:36:51 UTC
Same thing here with Krusader.
100% reproducable.

Bug#260999 seems to refer to same issue.

As OP described, copying sftp-->local or local-->sftp works fine.
Comment 2 Michael 2011-02-26 01:48:31 UTC
added observation:
Also 100% reproducable when left and right side of the copy are on the *same* sftp:// server
Comment 3 Frank Reininghaus 2011-03-02 20:04:25 UTC
*** Bug 260999 has been marked as a duplicate of this bug. ***
Comment 4 Frank Reininghaus 2011-03-02 20:05:00 UTC
*** Bug 267340 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Schneider 2011-03-10 14:40:38 UTC
David,

this looks for me like a bug in kio and not in the kio_sftp slave. I only see a put() on destination but no get() call on the source. Looks like it's waiting for data forever...
Comment 6 Andreas Schneider 2011-03-10 15:00:00 UTC
I've cherry-picked the patch to KDE 4.6.

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