Comments (6)
Hello. Which version of UA is used?
You can get it with composer info wapmorgan/unified-archive
and see in versions
section.
from unifiedarchive.
Hi.
Thanks for your feedback.
I use the 0.1.1
from unifiedarchive.
It seems to be a directory "/" inside the archive.
If it was created with UA, I'll discover this issue.
from unifiedarchive.
Confirm that this related to UA 0.1.1. Unfortunately, in this version also present bug with extraction.
So I'd propose switch to 0.1.x-dev branch, where:
- When you create archive, "/" entry is not added, so no problems at all.
- To unpack an archive with "/" entry, use this code:
$ar = wapmorgan\UnifiedArchive\UnifiedArchive::open('my-archive6.zip');
$ar->extractFiles('output-folder', array_values(array_filter($ar->getFileNames(), function ($val) { return $val !== '/'; })));
Next release with fixes will be soon, in 0.1.x-dev branch now following updates: https://github.com/wapmorgan/UnifiedArchive/blob/0.1.x/CHANGELOG.md#012---
from unifiedarchive.
Hi man,
Thanks for the reply. I will wait for the fix in the next release.
Cheers!
from unifiedarchive.
Released as 0.1.2.
from unifiedarchive.
Related Issues (20)
- Returns null on rar archives HOT 3
- Work with 7zip archive format HOT 1
- Get a list of directories in the archive HOT 3
- Roadmap to 1.2.0
- unnecessary file UnifiedArchive.tar.xz HOT 1
- Unable to extract a ".tar.xz" archive HOT 3
- Creating a tar.gz file also creates a .tar file HOT 5
- Compress no longer available HOT 1
- Extract RAR file error HOT 3
- Extract tar.gz memory exhaustion HOT 2
- Problem with deleting .zip file HOT 1
- Exclude directories from UnifiedArchive::archiveFiles HOT 2
- open($fileName, password: given) broken HOT 3
- NelexaZip driver returns DateTimeImmutable as modificationTime HOT 1
- getComment() throws but should return null instead HOT 2
- mime_content_type($fileName) cannot work because of strtolower($fileName) HOT 1
- *.img / zstd ? HOT 2
- Rar+password "mount archive" produce unreadable file HOT 1
- alchemy/zippy, Member::getLatsModifiedDate() return DateTime, not string
- Drivers.md in consistent with cam system:formats
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 unifiedarchive.