Slows starting of downloading with KIO
Nicolas Goutte
nicolasg at snafu.de
Tue Dec 20 10:26:15 GMT 2005
On Monday 19 December 2005 22:13, Martijn Klingens wrote:
> 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.
And what if the list is not in Unix format? I know that it is currently barely
supported, but that is something that must be taken care in KDE4.
Have a nice day!
More information about the kde-core-devel
mailing list