angular-filemanager icon indicating copy to clipboard operation
angular-filemanager copied to clipboard

Compress as ZIP issue

Open anexit1 opened this issue 7 years ago • 10 comments

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.

anexit1 avatar Dec 06 '16 15:12 anexit1

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?

damiankaczkowski avatar Mar 16 '17 13:03 damiankaczkowski

Hi guys,

I will take a look at it soon. It should be implemented. Installing devDeps is absolutely not neccessary.

durasj avatar Mar 16 '17 15:03 durasj

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.

durasj avatar Mar 16 '17 17:03 durasj

I see. Thank you @durasj in advance for your help.

damiankaczkowski avatar Mar 17 '17 15:03 damiankaczkowski

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?

damiankaczkowski avatar Mar 31 '17 18:03 damiankaczkowski

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.

durasj avatar Apr 09 '17 15:04 durasj

Thank you @durasj . Hope you will find some free time to look at this.

damiankaczkowski avatar Apr 13 '17 07:04 damiankaczkowski

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.

durasj avatar Apr 14 '17 22:04 durasj

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?

damiankaczkowski avatar Apr 19 '17 10:04 damiankaczkowski

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.

durasj avatar Apr 23 '17 16:04 durasj