php-zip
php-zip copied to clipboard
chmod(): No such file or directory
| 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")
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>
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