Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Nov 26, 2020 4:19 pm

Hello,

we are able to succesfully attach a file to a pdf document using the method in your documentation (PdfDocument.AddAttachment()). However when we have done so, we find that the file names have a "/" preprended to them, and we aren't sure where that's coming from. For example, using the pdf detach tool from XPdfReader, we get:
Example Error.png
We are not putting these slashes in the file names ourselves. Is there a setting we are able to change to fix this? Or is it an issue with the library?

Thank you in advance

drigbey1
 
Posts: 1
Joined: Thu Nov 26, 2020 4:06 pm

Fri Nov 27, 2020 5:35 am

Hello,

Thanks for your inquiry.
I did an initial test and indeed noticed the issue you mentioned. I have posted it to our Dev team with the ticket SPIREPDF-3817 for further investigation. If there is any update, we will let you know.
Sorry for the inconvenience caused.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Dec 10, 2020 10:21 am

Hello,

Thanks for your patient waiting.
Glad to inform you that we just released Spire.PDF Pack(Hot Fix) Version:6.12.10 which fixes your issue. Welcome to download it from the following links.
Our website: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget: https://www.nuget.org/packages/Spire.Pdf/6.12.10

Sincerely,
Rachel
E-icelue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Dec 17, 2020 9:27 am

Hello,

Greetings from E-iceblue!
Did the hotfix work for you? Looking forward to your feedback!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.PDF