37 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
70
views
File does not have a stream with WriteToDirectory with .7zip
at my job we use this method for an automated job that is trigger when .7zip files are put inside a specific folder:
public void Executer(ref string pChaineContexte, XdCuContexteTravail pContexte)
...
2
votes
2
answers
277
views
Issue partially extracting a 7-Zip archive using SharpCompress
It appears there is no built in way to extract a portion of a 7-Zip archive using SharpCompress (i.e. just extract a sub-folder). It does seem feasible to manually do it, however attempts to do so ...
0
votes
0
answers
62
views
Read files from an archive which contains another archive
I'm using SharpCompress and trying to read files which are archived in a 7z archive.
Now I got stuck at a point where my 7z archive contains another zip or 7z, which contains the file I want to read. ...
0
votes
1
answer
577
views
How do I make SharpCompress actually extract the zip file to the correct location and write files from the zip?
I'm trying to make extensions be supported on my web browser using WebView2 but I'm stuck with extracting the .crx file.
I'm using SharpCompress for this because .NET had some errors, anyway it keeps ...
0
votes
0
answers
192
views
C# Sharpcompress error handling files containing tilde ~
Fist up I am what I would call a copy and paste coder, learning through trial and error.
I am working on a personal project to extract a pile of compressed files (of varying compression types) to a ...
0
votes
0
answers
189
views
Sharpcompress write in Program Files folder
I'm trying to write some files in my folder which's inside Program Files folder... I'm getting error "Access denied" every time I try to write them... I tried to open the .exe (which makes ...
0
votes
0
answers
367
views
How to get all files from archive folder? SharpCompress
I have directory named "data" in zip archive, in this directory I have other directories
I need to get all directories from data and iterate through them and then get all files from this ...
2
votes
0
answers
2k
views
Extracting 7z file with millions of 200 bit file size inside take hours to finish. How to speed up?
Good day, I've created my own custom Wizard Installer for my website project. My goal is to minimize the work during the installation of our client.
I'm trying to extract a 7z file that has millions ...
-1
votes
1
answer
370
views
VS2019 showing phantom folders and files named "**" which I cannot find or remove from system
My VS2019 solution, with a WPF project, has started showing a phantom folder named "**", with the following tree of files within:
- **
- *
- *.cs
- *.resx
- *.xaml
And ...
0
votes
0
answers
175
views
UWP SharpCompress Access Exception On Local Drives, Why?
I'm trying to use SharpCompress to read .rar files from my UWP application. It works fine on network shares from which I can read the archive no problem, but I get System.UnauthorizedAccessException ...
2
votes
0
answers
2k
views
How can I extract the files from a .rar archive protected by password, using SharpCompress?
I want to extract the files from a given .rar archive, which is password protected. I have the following:
pwd = "password";
srs = @"c:\path\file.rar"
des = @"c:\path\folder&...
1
vote
0
answers
414
views
SharpCompress.Rar IEntry extract, write to StorageFile
// Create buffer
byte[] buffer = new byte[entry.Size];
// Create a file to store the contents
StorageFile file = await extractFolder.CreateFileAsync(Path.GetFileName(entry.Key), ...
1
vote
1
answer
726
views
Get volumes files from multi part rar file c#
I have multi-part RAR files in the same folder and I want to check if all parts of the RAR exist. I am using SharpCompress v0.24, here is my code:
using (var archive = RarArchive.Open("D:/Ontology ...
1
vote
1
answer
2k
views
Decompressing bzip2 data in Javascript
I ultimately have to consume some data from a Javascript file that looks as follows:
Note: The base64 is illustrative only.
function GetTripsDataCompressed() { return 'QlpoOTFBWSZTWdXoWuEDCAgfgBAHf/....
2
votes
1
answer
4k
views
C#: Programmatically create a split zip file
I want to create a zip file from a folder that it around 1.5GB, and have that zip file be split into chunks of 100MB. I've found quite a few threads on this, but nothing has quite worked out for me.
...