Bug 99230

Summary: Copying a selection of files causes a lot of overhead
Product: [Unmaintained] kio Reporter: Diederik van der Boor <vdboor>
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:

Description Diederik van der Boor 2005-02-12 21:43:09 UTC
Version:           unknown (using KDE 3.3.2, Gentoo)
Compiler:          gcc version 3.4.3 (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
OS:                Linux (i686) release 2.6.10-gentoo-r5

I'm currently copying 800 files from one FTP-Folder containing 1000 files. The transfer dialog is still slowly listing all files, and the actual transfer hasn't started yet.

A short log from ethereal reveals the actions taken by kio_ftp:

cwd /linux/suse/suse/i386/update/9.2/rpm/i586/evolution-pilot-2.0.1-6.4.i586_en.info 
550 Can't change directory to /linux/suse/suse/i386/update/9.2/rpm/i586/evolution-pilot-2.0.1-6.4.i586_en.info: Not a directory 
PASV 
227 Entering Passive Mode (193,190,198,20,76,130) 
list evolution-pilot-2.0.1-6.4.i586_en.info 
150 Accepted data connection 
226-ASCII 
226-Options: -a -l  
226 1 matches total 

All these files are stored in the same folder, one "ls" should be sufficient to check the existence of each file. Sadly, kio_ftp sends an "ls" for each file separately (which requires 800 data-connections in my case). I hope this can be improved as soon as possible.

Thanks in advice.
Comment 1 Thiago Macieira 2005-02-13 03:05:58 UTC

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