Error when downloading large file

    • vlada_v
      Participant
      # il y a 7 mois et 2 semaines

      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!

    • Thomas
      Maître des clés
      # il y a 7 mois et 2 semaines

      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 🙂

      • vlada_v
        Participant
        # il y a 7 mois et 2 semaines

        Hi, thank you for fast reply. I created single page out of WPCA (w/o controlled access), and when I create link to such sized file, the download is ok. So I dont know if it is a problem of php setting on provider site …

         

         

      • vlada_v
        Participant
        # il y a 7 mois et 2 semaines

        I have increased memory limit to 1024M, and it worls …. thank you.

      • Thomas
        Maître des clés
        # il y a 7 mois et 2 semaines

        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 🙂

      • vlada_v
        Participant
        # il y a 7 mois et 2 semaines

        Sure. It is clear. New experience again. Thanks for support.

      • Thomas
        Maître des clés
        # il y a 7 mois et 2 semaines

        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 🙂

Vous lisez 1 fil de discussion

You must be logged in to reply to this topic.