angular-filemanager
angular-filemanager copied to clipboard
Compress as ZIP issue
I've been getting the following error;
{ "result": { "success": false, "error": "Function not implemented" } }
Does this probe php zip extension I assume? This happens with php-local using Jacobs bridge.
Hello. I have installed @durasj local bundle. I am getting the same error when selecting few files and trying to use Download as ZIP function. php-zip extension is installed on the server. Do I have to install devDependencies using npm or does the bundle already contains all dependencies?
Hi guys,
I will take a look at it soon. It should be implemented. Installing devDeps is absolutely not neccessary.
I see there is a compress action implemented. But there is missing support for two actions done via GET. I think I know why they are not implemented. I guess I didn't like the way it's done on the front end, sending the body in the GET request, which is not the way to go.
I'll see what I can do.
I see. Thank you @durasj in advance for your help.
Hello @durasj . Did you mange to find some time to look into this? Could you give some hints where is the problem and which files needs to be fixed?
Hi @damiankaczkowski, sorry for late reply. I'll take a look at it on Friday, 14.4. I got in touch with @joni2back but haven't received any response regarding the issue, so I'll probably write some workaround for now.
Thank you @durasj . Hope you will find some free time to look at this.
Hi @damiankaczkowski,
extracting/compression and multiple files download was just fixed in the local php bridge and will be probably merged to the main repo in the future. Latest bundle already contains all fixes.
Thank you @durasj ! I have just tested new bundle and it is great, but I have found one more problem. Download as Zip and Compression works ok for files. However compression of dirs fails with error: "Compression failed". Also I can't find a direct way to "download as zip" selected directory or directories. Is this by design?
Hi @damiankaczkowski, I (hopefully) fixed the mentioned issue with dir compression also with some other issues. It's available in the current bundle and hopefully also soon in the main repo.