Last post Feb 02, 2012 05:56 PM by gdreedy
Feb 02, 2012 04:18 PM|gdreedy|LINK
I am trying to zip all the pdf files in a folder using FastZip (ICSharpCode.SharpZipLib.Zip).
FastZip fz = new FastZip();
fz.CreateZip(outputPathAndFile, inputFolderPath, true, filefilter);
The filter expression "+\\ .pdf$" doesn't work. What should be the filter expression to include only pdf's in the specified folderPath.
Feb 02, 2012 05:09 PM|Paul Linton|LINK
I typed "FastZip CreateZip" in to Google and the first result had the answer to your question complete with an explanation. I've never heard of FastZip before.
Feb 02, 2012 05:56 PM|gdreedy|LINK
I am sorry. I have updated the filter in the Catch ( For a second try if accessing network drive fails) and forgot to do it in the try block.