Copy link to clipboard
Copied
I'm trying to upload a PDF to a site but, no matter what I do, I keep getting the following error message:
This PDF file cannot be added because it is corrupt. The file did not end with the end-of-file (EOF) marker as required by the PDF standard (ISO-32000 7.5.5).
Can anyone please suggest a workaround? I am not very tech savvy so the simpler the solution the better. 🙂
Copy link to clipboard
Copied
Hi Martin,
Hope you are doing well and sorry for the trouble. As per the issue description mentioned above, you are receiving "File did not end with EOF marker" error when uploading pdf files onto a website.
Does this happen with specific pdf files? Have you tried uploading other pdf files and check if you are still getting the error?
Also, what is the version of the Adobe Acrobat/Reader DC you are using? To check the version go to Help > About Acrobat and make sure you have the latest version 21.01.20145 installed Go to Help > Check for Updates and reboot the computer once and see if that helps.
Once you install the new version of the application, please try to resave the PDF file with new name and then try to upload it and check if that works.
Regards
Amal
Copy link to clipboard
Copied
What can you see at the end of the file when you open the file in a text editor, like Notepad?
Copy link to clipboard
Copied
%%EOF
Copy link to clipboard
Copied
If you look into hex editor you will see it has 0D 0A and then the problem: 0x00. That very last byte 0x00 is what causes the issue.
0D 0A is not a problem, Acrobat and Distiller both write pdf that ends like that.