Slows starting of downloading with KIO

nf2 nf2 at scheinwelt.at
Tue Dec 20 09:44:19 GMT 2005


David Faure wrote:

>  
>
>>Stupid question: does a recursive listing require stating in KIO?
>>    
>>
>Yes and no (the question doesn't make sense from a KIO point of view :)
>Listing calls listDir(), stating calls stat(), so technically listing is not stating.
>However in practice for FTP, stating means listing and extracting one line from it,
>so both operations are similar, except listing is done in one go, and stating is
>done for every url so it's slower.
>
>  
>
Does that mean that kio-ftp has to list the whole directory for every 
stat call?

Thus downloading 10 files from a ftp directory would mean that the 
directory is listed 20 times...

Norbert







More information about the kde-core-devel mailing list