php-zip icon indicating copy to clipboard operation
php-zip copied to clipboard

chmod(): No such file or directory

Open ravikkr18 opened this issue 4 years ago • 2 comments

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")

ravikkr18 avatar Dec 22 '20 09:12 ravikkr18

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>

Ne-Lexa avatar Dec 22 '20 10:12 Ne-Lexa

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

ravikkr18 avatar Dec 22 '20 10:12 ravikkr18