Comments (1)
Sorry for the delay, I gave an answer on StackOverflow, which I'll duplicate here:
The reason you're getting so many file extraction events when just trying to extract one file is due to the fact that 7z archives are created using solid compression.
When you try to extract a single file from a solid archive, the decompression starts at the beginning of the file and goes through it until it finds the file you were looking for. Your archive is the worst-case scenario, where the file you're looking for is at the end of the archive (your results show "New Text Document.txt" being extracted last).
The solution to your problem depends on what you need to achieve in the end, and what power you have over the creation of the archive. If you need to extract just the one file, and can change the archive format, I'd aim for some format that does not use solid compression (eg. zip). If you're forced to use the 7z file, and need to use several of the files, the best course would probably be to extract them all to a temporary directory and work on them there.
from sevenzipsharp.
Related Issues (20)
- SevenZipSharp library not working on Xamarin forms
- Extract NSIS no output using SevenShipSharp while 7zip GUI has output
- Unable open archive file for spanned zip file
- Change license to MIT
- Stuck at a certain percent while extracting encrypted 7z file
- Windows Virus Scanner - Trojan:Win32/Wacatac.B!m in Squid-Box.SevenZipSharp Version=1.5.1.15 HOT 3
- version 1.6.0.22 is unusable for extraction HOT 2
- SevenZipExtractor.ExtractFileAsync(int, Stream) fails when created with leaveOpen == false
- Copyright HOT 2
- Execution has failed due to an internal SevenZipSharp issue (0x800700ce / -2147024690). HOT 1
- VHD support HOT 1
- Archive extraction should be cancelable
- The library does not seem to support AOT compilation?
- Feature Request: Support additional compression algorithms (7zip-zstd)
- Trying to add files to an existing ZIP archive creates a NEW archive HOT 1
- Exception when calling CompressDirectory with searchPattern that returns empty file collection
- Getting Corrupted file exception for proper archives HOT 1
- How to append files to a splitted archive?
- Error during extracting the file that I just compressed HOT 5
- Publishing a new release HOT 2
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 sevenzipsharp.