<p dir="ltr">Hi Christian,</p>
<p dir="ltr">Not sure if only the file count is enough. As you also have to take of the sorting.</p>
<p dir="ltr">Further doesn&#39;t the local filesystem provide a count function by default.</p>
<p dir="ltr">Doesn&#39;t the remote storage provide  tags or categories you can use to let the driver create virtual folders?</p>
<p dir="ltr">Gr. Frans</p>
<div class="gmail_quot&lt;blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
We&#39;re writing a FAL adapter that allows access to a media storage that<br>
does not have any folders. We&#39;re listing all files in the root<br>
folder, since there is no other way for us to do this.<br>
<br>
Our problem is that the file list always fetches all files at once, and<br>
applies the paging only afterwards[1].<br>
The correct way in my eyes would be fetching the number of items in the<br>
folder at first, then apply paging, then fetch only relevant files that<br>
will be be displayed.<br>
<br>
What do you think? Is that feasible?<br>
<br>
We would need to add a getNumberOfFiles() method to Resource\Folder, as<br>
well as the storages.<br>
<br>
[1] <a href="http://forge.typo3.org/issues/56746" target="_blank">http://forge.typo3.org/issues/56746</a><br>
<br>
--<br>
Regards/Mit freundlichen Grüßen<br>
Christian Weiske<br>
<br>
-= Geeking around in the name of science since 1982 =-<br>
<br>
_______________________________________________<br>
Before posting to this list, please have a look to the posting rules<br>
on the following websites:<br>
<br>
<a href="http://typo3.org/teams/core/core-mailinglist-rules/" target="_blank">http://typo3.org/teams/core/core-mailinglist-rules/</a><br>
<a href="http://typo3.org/development/bug-fixing/diff-and-patch/" target="_blank">http://typo3.org/development/bug-fixing/diff-and-patch/</a><br>
_______________________________________________<br>
TYPO3-team-core mailing list<br>
<a href="mailto:TYPO3-team-core@lists.typo3.org">TYPO3-team-core@lists.typo3.org</a><br>
<a href="http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core" target="_blank">http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core</a></div>