• Resolved Diana

    (@dianaroald)


    I had this happen several times yesterday and today. I thought I had done something wrong but I have now used some time to check this out. This has happened on two different wordpress sites, one with 3.5.1 and the other 3.8.1.

    When I downloaded a file, additional code was added to the end/bottom of the file. It looks like it is the entire generated source code for the WP-File Manager page that I download from.

    I can work around this by copying edited code and pasting it directly in editing area in WP File Manager but this can cause big problems if one isn’t aware of this. Hope you can look into this and find a fix for this problem. I really need this plugin because I unfortunately am not allowed direct access to my files.

    https://www.ads-software.com/plugins/wp-filemanager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author anantshri

    (@anantshri)

    Like i already said this is occuring in specific setup’s. I will need more information about setup then only will be able to weed out the issue. I did remember adding a specific check to stop this problem.

    At this point i have other priorities in life and next update i am only planing after april 2014 so expect this to be solved in it. (i will try my best to add more checks on this but if i can’t replicate the issue i can’t be sure that it is patched.)

    BTW you can try this code block

    change
    wp-filemanager.php
    change line no 119 :
    readfile($fullpath);
    to below code.
    (I have added a exit(); after line 119)

    readfile($fullpath);
    	exit();

    Plugin Author anantshri

    (@anantshri)

    -reducted- updated in upper post

    Thread Starter Diana

    (@dianaroald)

    Hei Anantshri. Making the change in code you suggested worked. Files are now downloaded properly – no added code at the end. Thanks a lot for your help.

    Plugin Author anantshri

    (@anantshri)

    Cool.
    I have added that in code next release will have this fix.

    can you pls. tell when new version is planned ? i had this issue too…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Download problem: code added to the end the file’ is closed to new replies.