PDF corrupted using document upload

Last post 12-24-2009, 10:57 AM by sarcozy. 2 replies.
Sort Posts: Previous Next
  •  12-09-2009, 8:17 AM 57683

    PDF corrupted using document upload

    Strange problem here, and I don't think it has to do with the editor.  It happens on my production server but not on my development server.  When I upload a PDF file using the document upload feature of the editor, "Content-Disposition: form-data; name="__EVENTTARGET" and other like items are added at the end of the PDF (past the %%EOF) which renders the pdf corrupted.
     
    No idea why this would be happening.  The full text appended to the pdf is found below.
     

    -----------------------------7d97f10a03c6
    Content-Disposition: form-data; name="__EVENTTARGET"


    -----------------------------7d97f10a03c6
    Content-Disposition: form-data; name="__EVENTARGUMENT"


    -----------------------------7d97f10a03c6
    Content-Disposition: form-data; name="__VIEWSTATE"

  •  12-09-2009, 9:03 AM 57685 in reply to 57683

    Re: PDF corrupted using document upload

    Doing some other testing, noticed it happens on certain folders, but not others (checked permissions, they are all the same).  Updating to the newest version of 6.5 which I believe uses the ajax uploader for document and image uploads.  Will see if that works and takes care of the issue.
  •  12-24-2009, 10:57 AM 57923 in reply to 57685

    Re: PDF corrupted using document upload

    if there are no other ideas I would recommend the pdf file repair tool, I think it is the easiest way
View as RSS news feed in XML