Bug 251301 - I cannot copy files/folders from sftp-server to same sftp-server
Summary: I cannot copy files/folders from sftp-server to same sftp-server
Status: RESOLVED DUPLICATE of bug 251788
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: sftp (show other bugs)
Version: 4.5
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords:
: 244513 254379 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-15 12:04 UTC by H.H.
Modified: 2010-12-26 11:13 UTC (History)
4 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 H.H. 2010-09-15 12:04:38 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

For example copy the folder "/myfolder/myfolder2" to "/myfolder3".

The dialog opens, but shows no progress and hangs forever.

Reproducible: Always




OS: Linux (x86_64) release 2.6.27.25-0.1-default
Compiler: gcc
Comment 1 Andreas Schneider 2010-09-18 10:59:59 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.
Comment 2 Andreas Schneider 2010-10-04 22:53:44 UTC
The sftp protocol doesn't support server side copying. This should use a data dump, which means download it to your machine and upload it again.

This should be disabled by default. The values are all set to false by default. I've only enabled what's supported in the .protocol file. This smells like a bug in the kdelibs.
Comment 3 Andreas Schneider 2010-10-04 23:00:50 UTC
*** Bug 244513 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Schneider 2010-10-04 23:03:42 UTC
The following options are enabled in sftp.protocol file:

reading=true
writing=true
makedir=true
deleting=true
moving=true
opening=true
linking=true

Real copying from server->server should be disabled by default. Two slaves should be started to do the copying. This doesn't happen. The copy is stalled cause the kio slave doesn't support it.
Comment 5 Andreas Schneider 2010-10-05 00:39:07 UTC
Note to myself:

[00:24:01] <dfaure> the kdebugs in FileCopyJob are commented out.
[00:26:11] <gladiac> sounds like a bigger task
[00:26:29] <gladiac> I will try to do it in the next days
[00:26:56] <dfaure> actually since put() is called, it's pretty sure that startDataPump is called
[00:27:02] <dfaure> but it's not starting the get job in parallel.
[00:27:25] <dfaure> So either it fails to start two instances (scheduler problem, maxInstances stuff...), or it's hanging in the "resume" negociation.
[00:27:36] <dfaure> in any case, kdebugs in filecopyjob will tell more.

Test: kioclient copy url1 url2
Comment 6 Andreas Schneider 2010-10-16 16:06:12 UTC
*** Bug 254379 has been marked as a duplicate of this bug. ***
Comment 7 Ralf Jung 2010-10-26 11:08:07 UTC
I am experiencing the same bug. And actually, it is a regression - copying from sftp to sftp used to work fine in KDE 4.4, but does not anymore in KDE 4.5.
Comment 8 Tomek 2010-11-12 08:20:22 UTC
Hi,
For the record - I`ve just upgraded to 4.5.3 the problem persists.

cheers.
Comment 9 Andreas Hartmetz 2010-12-26 11:13:13 UTC
Fixed for 4.6.

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