[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:       nf2 <nf2 () scheinwelt ! at>
Date:       2005-12-20 9:44:19
Message-ID: 43A7D273.4070905 () scheinwelt ! at
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic