Skip to main content
Question

Open PDF, extract attachment

  • Feb 16, 2026 12:01 PM UTC
  • 2 replies
  • 132 views

TechnokomLesch

We would like to open a PDF file in the program and extract an attachment (in this case, an XML file) from this PDF file.

Is there a way to do this?

2 replies

Randy Zack
Forum|alt.badge.img
  • Rocketeer
  • Feb 17, 2026 3:10 PM UTC

Sorry, but I know of no way to do this with the usual standard library routines (C$PDF). It may be possible by understanding the format of PDF files and doing the work yourself. But that is beyond my personal knowledge.


Neapolis
  • New Participant
  • Aug 15, 2026 6:53 PM UTC
Have you ever used the program “Pdfcpu”, from the command line?