You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm started to use this API to clear some SMB shares and I've tried the following API call:
for (FileIdBothDirectoryInformation f : share.list(targetFolder, "*.pdf"))
This works fine, but if I do the following: for (FileIdBothDirectoryInformation f : share.list(targetFolder, "*.pdf, *.xml")) , it doesn't work. I can't find any documentation on valid search patterns of even any examples. Can someone confirm what the correct pattern should be.
Also, is this the correct API call for files only, as I simply want to grab file details from a directory, check the age date and if the date has exceeded, I want to delete it. This API call is also providing directory info in it's results when it's purely files I'm after.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'm started to use this API to clear some SMB shares and I've tried the following API call:
for (FileIdBothDirectoryInformation f : share.list(targetFolder, "*.pdf"))
This works fine, but if I do the following: for (FileIdBothDirectoryInformation f : share.list(targetFolder, "*.pdf, *.xml")) , it doesn't work. I can't find any documentation on valid search patterns of even any examples. Can someone confirm what the correct pattern should be.
Also, is this the correct API call for files only, as I simply want to grab file details from a directory, check the age date and if the date has exceeded, I want to delete it. This API call is also providing directory info in it's results when it's purely files I'm after.
Thanks
The text was updated successfully, but these errors were encountered: