<div dir="ltr"><p class="MsoNormal">Hello JCIFS support team,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">We have a requirement where there will be multiple calls, to
list contents of a folder. From MS-CIFS doc, there are two commands TRANS_FIND_FIRST2
and TRANS_FIND_NEXT2 that might be used to retrieve folder contents as pages.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">The listFiles() API in SmbFile is retrieving all the
contents as one big list. I see the code is using TRANS_FIND_FIRST2 and
TRANS_FIND_NEXT2. SmbFile does not have API to fulfill the requirement. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">The wrapper service around this library, is based on async
event driven approach. We are using Vertx polyglot framework. There are chances
where the contents in the folder keeps growing and memory consumption becomes
non-deterministic.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I’m thinking to enhance SmbFile to include this feature. </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Am I on the right track? What is the process to publish
these changes.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">From my end, one long term solution need is to make it as
async library using netty and Observable pattern for most of the SmbFile APIs.
 Is it a valid thing to be on road map for this library? </p>

<p class="MsoNormal"> </p><p class="MsoNormal"><br></p><p class="MsoNormal">Thanks & Regards,<br>Sridhar Jonnalagadda</p></div>