Support » Plugin: WP Download Codes » Large Files with ob_flush();

  • In file wp-content/plugins/wp-download-codes/includes/download.php
    you need ob_flush(); in Line 119 for files larger than 50MB.

    				while ( !feof( $handle )) {
    					$buffer = fread( $handle, $chunksize );
    					echo $buffer;
    		// gfxh
                    // EO: gfxh
Viewing 2 replies - 1 through 2 (of 2 total)
  • spleencoffin


    THANK YOU SO MUCH! This fixed the problem I was having with the plug-in not working after the last WordPress update.

    Sami S


    Thank you! My service provider did some updates and the larger downloads stopped working, this fixed that problem for me as well. Much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Large Files with ob_flush();’ is closed to new replies.