Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
1

Can't open a pdf attachment in Acrobat

Community Beginner ,
Mar 06, 2025 Mar 06, 2025

Hello, 

 

I'm having a problem opening a pdf attachment with acrobat.
The problem only occurs with Acrobat when the attachment has a specific name, and there are several attachments (attachments named 1.jpg and 2.jpg open correctly). In addition, the attachment opens correctly with Acrobat Android (on a mobile device) or Foxit reader (on a PC).

Here is my pdf file: https://we.tl/t-4jDSOM9M7V

 

erreur_acrobat2.pngexpand image

 

My pdf is created with the pdf-lib framework.
The problem doesn't occur if there are only one or two attachments.
The problem does not occur if the attachment 10.jpg is named _10.jpg.

It is possible to save the file named 10.jpg, and it opens correctly from outside the pdf

Deleting the file 10.jpg from the attachments files does not work. (the file is still present after closing and re-opening the pdf)

How can I solve this problem?

Thanks in advance

TOPICS
Crash or freeze , Create PDFs , General troubleshooting , PDF
287
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Advocate ,
Mar 06, 2025 Mar 06, 2025

The attachments are arranged in the EmbeddedFiles name tree structure. The names in such a name tree are expected to be sorted in lexical order, in your case 1.jpg, 10.jpg, 2.jpg. Actually, though, they are sorted in numerical order 1.jpg, 2.jpg, 10.jpg. This is wrong and PDF processors may run into issues because of this.

 

quote

My pdf is created with the pdf-lib framework.

 

You may want to report a bug with that framework and ask them to create correctly ordered name trees.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 06, 2025 Mar 06, 2025

Hi Jean-Martin,

It sounds like the issue could be related to how Acrobat is handling certain file names or attachments, which might be causing a conflict. A few things you could try are clearing the Acrobat cache, updating Acrobat to the latest version, or renaming the attachment (just to rule out any specific naming conflicts). If the issue persists, reinstalling Acrobat might help.

By the way, if you’re looking for better solutions for file management and organization, there are various tools out there that could help streamline your workflow. I’ve personally found some useful resources for managing and accessing files easily.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 06, 2025 Mar 06, 2025

Writing few of resources which worked for me here

  1. Google Drive
  2. Dropbox
  3. Evernote
  4. Adobe Document Cloud
  5. Trello
  6. Please let me know if my info helped you thank you

 

r/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 07, 2025 Mar 07, 2025
LATEST

Thank you for your feedback Tayyaba, 

Actually I was looking for a tool able to generate pdf from javascript code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 06, 2025 Mar 06, 2025

The attachments are arranged in the EmbeddedFiles name tree structure. The names in such a name tree are expected to be sorted in lexical order, in your case 1.jpg, 10.jpg, 2.jpg. Actually, though, they are sorted in numerical order 1.jpg, 2.jpg, 10.jpg. This is wrong and PDF processors may run into issues because of this.

 

quote

My pdf is created with the pdf-lib framework.

 

You may want to report a bug with that framework and ask them to create correctly ordered name trees.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 07, 2025 Mar 07, 2025

Thanks you for your answer MikelKlink, it seems to be the right process to add attachments 

I have reported the bug with that framework.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2025 Mar 06, 2025

Hi @jean-martin_6597 ,

 

I am curious if this issue would manifest as well on different desktop computers running the same version of Adobe Acrobat on both Microsoft Windows and macOS... just curious.

 

If you would be able to test successfully with the same attachments on a different PC, you may be able to narrow down the issue to just the PC that you're currently using Acrobat with.

 

Also, is not a good rule of thumb to use numbers or special character at the beginning of a filename.

 

One way of ruling this out is to test with the same file attachments but renaming such files to standard file naming conventions such as "slide20.jpg" or "slide-10.jpg" or "slide_10.jpg" for example.

 

This should work accross all platforms and apps regardless of operating system, as suggested by @MikelKlink .

 

From other sources that I am reading outside of these support forums,  computers, in general, they sort out file names in chronological order within a database structure.

 

On Microsoft Windows computer, the file indexing feature plays a big role when files are searched, cached, synced or categorized.

 

Additionally, if a file is named 10.jpg, it may also be possible that a hidden file with the same name of "10" could be present in the same directory (or folder) where the .jpg image files are being saved to:  https://datamanagement.hms.harvard.edu/plan-design/file-naming-conventions

 

That said, email attachnent programs may also override some system-wide default settings and take over as the system default application for the file type : https://support.mozilla.org/en-US/questions/1101536#answer-823954.

 

In which case, this may explain why you are able to open such files on a desktop computer with Foxit and on Android.

 

One final thought:

 

In your screenshot, I noticed that you are using the New Adobe Acrobat Experience.

 

Would it make any difference if you revert to the Classic UI?

 

As observed by @umair_1449 , I have experience myself erroneous data structure displayed within Adobe Acrobat's File Viewer when compared side-by-side with how the same files are displayed on File Explorer (Microsoft Windows).

 

 

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 07, 2025 Mar 07, 2025

Hi, 

Yes the problem occurs on all versions of Acrobat I tested. (reader, pro, new experience and classic), and all computers I tested.

I agree with you for the naming of files, I wanted to simplify the bug I was encountering to explain it (I tested a lot of differents names, and the bug seemed to appears randomly.....).

Actually, the answer of @MikelKlink was right, (adding contents in numeric order, maybe alpha/numerical order when contents contains letters). so 10.jpg is prior to 2.jpg.

 

Thanks you for your feedback

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines