[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Slows starting of downloading with KIO
From: Thiago Macieira <thiago () kde ! org>
Date: 2005-12-19 19:36:31
Message-ID: 200512191736.31923.thiago () kde ! org
[Download RAW message or body]
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.
Maybe a third, half-way option: we show the dialog and some progress (like
"200 kB, 12 kB/s" but no totals and no time estimates) and collect more
information in the background.
That would require:
1) skipping statting for some files if somehow the download went faster
and we finished downloading before the stat finished (it's pointless to
stat a file to know its size if we have it completed already -- unless we
want to copy mtimes and other metadata);
2) make sure it's possible to work around that behaviour for FTP sites
where a single connection per IP is allowed -- e.g., serialise the
operation.
Another interesting problem that the statting brings is that we cannot
download "virtual files", such as .tar.gz tarballs created by wu-ftpd for
a whole dir.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic