hierynomus / smbj

Server Message Block (SMB2, SMB3) implementation in Java
Other
713 stars 180 forks source link

Recursive Listing of all Files in SMB. #763

Open KrishnaMohan-kanerika opened 1 year ago

KrishnaMohan-kanerika commented 1 year ago

Hi hierynomus, currently we are fetching the list of Files & directories using below code. diskShare.list("SMBPATH"); is there any predefined function to fetch the list recursively ?,(it should return all the files in the. subdirectories as well). From my analysis i did n't find anything related to recursive listing. if not is there anyway or an API to implement this functionality ?

rokkakasu commented 1 year ago

Hi Krishna. Try using the code piece of the pr https://github.com/hierynomus/smbj/pull/754

It may help and avoid too many sessions.

Thanks R Ramarajan

On Wed, 10 May, 2023, 2:46 pm KrishnaMohan-kanerika, < @.***> wrote:

Hi hierynomus, currently we are fetching the list of Files & directories using below code. diskShare.list("SMBPATH"); is there any predefined function to fetch the list recursively ?,(it should return all the files in the. subdirectories as well). From my analysis i did n't find anything related to recursive listing. if not is there anyway or an API to implement this functionality ?

— Reply to this email directly, view it on GitHub https://github.com/hierynomus/smbj/issues/763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIJCEGVXDXUEGEHV6FMLMPLXFNMHBANCNFSM6AAAAAAX4OHHGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>