SelectEntries method using directoryPathInArchive

Aug 19, 2009 at 5:55 PM

I used the example in the library for SelectEntries method as a starting point.  Without using SelectEnties, the ZIPentry filename property in the ZIP file is "A/B/sample.PDF".  There are other folders like "A" and "A/D" where other files are stored in the ZIP file. I tried various combinations of folder names "A/B/", "A/B", "B" and could not get overload selectentries(string,string)  to only get the PDF files in the "A/B" folder.  If I just use the SelectEnties overload selectentries(string) of only the selectionCriteria of  "*.pdf", then I get all PDF files.  So that is working.   The question what is the syntax for the directoryPathInArchive to pull files from folder "A/B".   Thanks for your help.

Coordinator
Aug 19, 2009 at 11:44 PM

If you swap the slashes with backslashes, it should work.

Use folder names like names "A\B", "A\D", etc.

But I can see that it should work with both forward and backslashes, so I'll modify the library to be more flexible on that. 

 

Coordinator
Aug 20, 2009 at 12:08 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Aug 20, 2009 at 1:54 AM

fixed in v1.8.4.20