Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET exclude folder from unzip

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20320 |

    Hi I have zip file contains sub folders.

    I want to unzip the file exclude specific folder. I define NotFilter with scope of folder but the folder unzipped what wrong with my solution. 

    Imported from legacy forums. Posted by nadav (had 1589 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Nadav,

    When unzipping, you must specify the path of the file/folder within the archive, not on disk :

    XceedZip1.FilesToProcess = “\Test\*”
    XceedZip1.FilesToExclude = “\Test\1\*”

    This will work only if your archive contains paths, that is, the PreservePath property was set to true when first making the archive.

    Imported from legacy forums. Posted by Alain [Xceed] (had 1340 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.