• Resolved Chris

    (@christof15)


    Hi there, since some time all the downloaded documents look corrupted or are not able to load. Uploading works fine but after downloading the file (.pdf) again the file opens but looks corrupted..

    I noticed a change in the expected URL:
    https://www.mysite.com/documents/2019/02/myfile.pdf
    to:
    https://www.mysite.com/documents/2019/02/myfile.pdf/

    Might this be the problem? The problem occurs also with file uploaded long time ago.
    I checked if the same happens with the core Media manager and then the url doesn’t end with a /. The file also doesn’t get corrupted..

    If I try to force download the file without the end / through the Free Download Manager App on my Macbook it says “Remote server closed connection.”
    I also tried going back to version 3.2.1, but unfortunately the same problem..

    I hope a quick fix is possible! Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter Chris

    (@christof15)

    Ok, found a solution which surprised me.. I’m running this particular website on Siteground and their SG Optimizer plugin caused the problem.. Disabling the:
    ‘Minify the HTML Output’ (Removes unnecessary characters from your HTML output saving data and improving your site speed.) did the trick!
    Hope this can help others.

Viewing 1 replies (of 1 total)
  • The topic ‘PDF corrupted or not able to load DOCX’ is closed to new replies.