Slows starting of downloading with KIO

Martijn Klingens klingens at
Mon Dec 19 21:13:56 GMT 2005

On Monday 19 December 2005 20:36, Thiago Macieira wrote:
> Aaron J. Seigo wrote:
> >so perhaps we shouldn't start the progress meter until all the files are
> >statted, but start the download of the first file immediately?
> Which could clog the connection and make the statting slower, resulting in
> a dialog that took a long while to appear.
> Another option is to display the dialog soon and re-allocate progress bar
> area when more information becomes available. Of course, the drawback in
> that case is that the progress will decrease.

In Andras' particular case he's already looking at the file listing from 
kio-ftp. Since a directory listing in FTP is roughly similar to ls -l output 
we can already safely *KNOW* whether the targets of the links are files or 
folders and skip the statting altogether for the files.


More information about the kde-core-devel mailing list