GithubHelp home page GithubHelp logo

Comments (3)

weltkante avatar weltkante commented on August 25, 2024 1

@ninad2110 Please provide more details about what you are doing, preferably in a new issue, so I can reproduce the failure.

[edit] I see you have created a similar issue #34 so if thats the same ignore above comment.

Closing this issue since the original question was answered and not followed up on.

from managed-lzma.

weltkante avatar weltkante commented on August 25, 2024

This is a low level library, you'll have to do it yourself. Basically the 7z format doesn't care about "directories" it just stores a filename with slashes to represent a file in a subfolder. AppendDirectory is for storing empty directories.

Since .NET doesn't have any inbox support for calculating filenames relative to a base directory either, you have to calculate it yourself or find some 3rd party library to determine the relative path you want to store.

from managed-lzma.

ninad2110 avatar ninad2110 commented on August 25, 2024

With the relative paths I can create folder inside achieve(7z).
but, if achieve already contains folder/directory it fails.

it throws InvalidDataException exception in ArchiveMetadataReader.

Class: ArchiveMetadataReader
Method: ReadSectionDetails()
System.IO.InvalidDataException: 'Found invalid data while decoding.'

Any hints how to resolve this?

from managed-lzma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.