Open dzidek23 opened 1 year ago
This is a feature request
Looks like, at a minimum, we'd need to require the extension pecl_http
to be installed. I'm not familiar with that extension so I can't speak to how realistic or not that is. Not what other hurdles there might be beyond that.
(We stream zip files so we can't use standard zip stuff in php).
⚠️ This issue respects the following points: ⚠️
Bug description
When downloading multiple files or a folder, the zip file has no compression on it.
If a folder in NC shows as 120MB in size, the output/downloaded zip will be roughly the same size. Unpacking the files and then repacking them with let say 7z (in my case) reduced the file by almost 40% (in my case 78MB).
Steps to reproduce
File downloaded directly from NC:![image](https://github.com/nextcloud/server/assets/70292029/20f8dffc-be7a-4671-a472-ec1f3526af1f)
Same content after 7z compression:![image](https://github.com/nextcloud/server/assets/70292029/34f6af0c-7978-4312-b15c-f2ccd1690ac4)
Expected behavior
Should we have compression enabled, so the resulting file is smaller?
I understand that there would be a penality for the system compressing files, but can't judge if it will outweigh the gains of transfer time.
Installation method
Community Manual installation with Archive
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response