Hi,
Faced such a problem that when downloading all files from an account, they are downloaded as one file, but only it is called the “zip” extension and cannot be opened by users until they rename it, for example, to “download.zip”.
Owncloud version 10.8.0.
Maybe there is some configuration file where I can fix this?
I also noticed that if I select 3 or 4 files, but not all, then “download.zip” is downloaded. But as soon as I put a check mark to select all files, then only “zip” is downloaded.
@epalma I’d suggest not to generically ask for “environment” and “logs”, which is in lots of cases not certain to the OP what exactly to do. Keep the issue in mind and ask more specific
@Bugorka as for all issues we need to reproduce what is happening. So please tell us your operating system (+version), the browser (+version) you were using. Additionally clear your owncloud.log, then try again to download a single file and open owncloud.log again. If there are some lines containing the word “Exception” please post this as well.
thank you for the additional information, I didn’t understand what you meant with “downloading all files from an account” in the first place. Your issue is reproducible.
If this prevents users from opening the downloaded file on some operating systems, I consider this as bug too. For your convenience, I filed an issue at
Unfortunately I do not have permissions to edit other users’ posts, but I think your ssl_access_log - which is merely a webserver log - does not contain any security relevant information anyway.
Thank you for the prompt solution of the problem. I looked at what changed in the commit and registered it manually in the download.php file, rebooted Apache and everything worked out!
Hello,
Didn’t notice the problem right away. Now the user has noticed that when all files are selected, an archive named download.zip is generated and downloaded, but empty inside. If you select not all files again, then the archive is not empty.
I copied a piece of code that your developers added from GitHub and pasted it into a file at /var/www/html/owncloud/apps/files/ajax/download.php.
The software versions have not changed during this time. Thanks!