Bug 262292

Summary: File copy with dolphin from smb to smb remote folders don't work
Product: [Frameworks and Libraries] kio Reporter: Anton <avelo>
Component: smbAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: major CC: adawit
Priority: NOR    
Version: 4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.4

Description Anton 2011-01-06 12:08:31 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

File copy with dolphin from smb to smb remote folders don't work,
it seems to start as a notification appears, but the progress bar never advance.
Folders seem to be copied, at least some of them, but the copy seems
to stop at the first file.
The first file is created at destination with 0 bytes size.
Worst problem appears if you try to overwrite some files, as first of them is overwrited with a 0 kb file, so you lose it.

Reproducible: Always

Steps to Reproduce:
Copy a file from a smb remote folder to another smb remote

Actual Results:  
0 bytes file generated, overwriting existing if it's the case

Expected Results:  
normal copy, as it works doing smb to local and then to smb

OS: Linux (x86_64) release 2.6.35-24-generic
Compiler: cc
Comment 1 Dawit Alemayehu 2011-11-06 05:17:06 UTC
If the smb server from which the file is copied from and copied into is the same server, then the problem is caused by the same issue in bug# 250882. Namely, the "maxInstancesPerHost" property is missing from smb.protocol ; so only once instance of the ioslave is created per host.

Add the properties listed below to your own smb.protocol file and if the issue does not get resolved, feel free to reopen this ticket.

maxInstances=20
maxInstancesPerHost=5