Ne-Lexa / php-zip

PhpZip is a php-library for extended work with ZIP-archives.
MIT License
491 stars 60 forks source link

chmod(): No such file or directory #70

Open ravikkr18 opened 3 years ago

ravikkr18 commented 3 years ago
Q A
Library version(s) affected: phpZip
PHP version(s): 7.3
OS (with bit depth): Ubuntu 18.04 64-bit

Description
chmod(): No such file or directory

How to reproduce
phalconeye.zip Then try to unzip with $this->zip->openFile($repoZip)->extractTo($path);

Possible Solution
file exist check or file extension check as it fails at file with uncommon name structure. chmod("\phalconeye-master\public\external\pydio\data\plugins\mq.serial\queues\channel-nodes:0")

Ne-Lexa commented 3 years ago

You have uploaded a file that is not a zip archive but an HTML file.

<html><body>You are being <a href="https://codeload.github.com/PhalconEye/phalconeye/zip/master">redirected</a>.</body></html>
ravikkr18 commented 3 years ago

I uploaded zip file but Git automatically detect and generate link for zip file may be because its git repo. Please download zip file from this link https://gofile.io/d/ujGffV