Error when downloading large file
-
-
vlada_vParticipant# 7 months, 2 weeks ago
Hi, I found some issue – I have created successfuly private file, size about 205MB (using ftp download way). But when I want to download it, nothing happen. I tried various things, and it looks it is related to file size. Tried another, smaller one, size about 150MB, same problem. Files about 120MB are OK.
So, is declared max. supported file size, or any fix how to increase it?
Thank you. It is great plugin!
-
ThomasKeymaster# 7 months, 2 weeks ago
Hello,
You’ll need to adapt your PHP settings. This is not related to our plugin but to your server configuration.
You should refer to the documentation from your hosting provider in order to adapt this to fit your needs.
I hope that helps,
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂-
ThomasKeymaster# 7 months, 2 weeks ago
when I create link to such sized file, the download is ok
Downloading a private file from WP Customer Area is not like downloading a file directly by its direct http URL. The system needs to prevent your users to be able to download a file directly from its URL, the system needs to verify you’re allowed to download that file (or it would not be that private). The system actually download the file through PHP, so yes, it involves settings such as memory. Do not hesitate to check for tutorials to properly configure PHP memory settings, post_max_size, and so on… You should find plenty of them on the web.
Best regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂 -
ThomasKeymaster# 7 months, 2 weeks ago
By the way, post_max_size isn’t relevant in your case.
If you’d like to use the classic uploader to upload large files, you should probably increase the max_execution_time and php_upload_limit values. But it is never recommended to do so that high on most servers.
We recommend using the FTP upload method to upload large files, which should prevent you to increase those values, and unexpectidly allow some eventual scripts/pages from your site to be able to consume more ressources than expected, and lead your server to crash or to be unresponsive.
Regards.
Want to help WP Customer Area? It only takes few seconds!
Rate & review the plugin on WordPress.org 🙂
-
You must be logged in to reply to this topic.