Comments (3)
@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.
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.
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)
- ArchiveFileModel does not expose file metadata HOT 3
- Implement DELTA and BZIP2 decoders
- Could not install package 'ManagedLzma 0.2.0-alpha-4' HOT 3
- No able unzip when the source file over 20mb folder when Zip file with LZMA2 and AesEncoder HOT 2
- Support linux file attributes in 7z archives HOT 7
- Extract posix file attributes from 7z archives
- readme.md documentation
- Get feedback on amount of unflushed data in buffers HOT 1
- Implement PPMD decoder without using 'unsafe' code
- Consider using `ref return` feature
- Create .NET Standard 2.0 package HOT 1
- Decoding Exception HOT 4
- Decoder performance
- How to compress a Byte Array Or MemoryStream? The library needs documentation. HOT 1
- OverflowException in ctor of master/7zip/Decoder/BufferedStream.cs HOT 1
- Multithreaded operation possilble? HOT 6
- Unable to decompress zero lenght file
- Data decompresses with C++ but exceptions when decompressed with managed lzma HOT 6
- sandbox-7z example code fails when archive contains empty file HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from managed-lzma.