This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Unable to open this one particular PDF attachment; has a forward-slash '/' in its name

  • 4 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย bill248

more options

I recently received a bill with the following PDF attachment:

Content-Type: application/pdf; name="email/client-XXXXXXX_inv-XXXXXXXX.pdf"

Double-clicking the attachment in Thunderbird does nothing. Right-clicking on the attachment and selecting 'Open' does nothing.

I can open the PDF file from the desktop once I've saved it. I can open all other PDF file attachments from within Thunderbird.

I suspect that Thunderbird doesn't like the file name. Any fixes for this?

Thunderbird version: 91.4.1 (32-bit)

Thank you for your time!

I recently received a bill with the following PDF attachment: Content-Type: application/pdf; name="email/client-XXXXXXX_inv-XXXXXXXX.pdf" Double-clicking the attachment in Thunderbird does nothing. Right-clicking on the attachment and selecting 'Open' does nothing. I can open the PDF file from the desktop once I've saved it. I can open all other PDF file attachments from within Thunderbird. I suspect that Thunderbird doesn't like the file name. Any fixes for this? Thunderbird version: 91.4.1 (32-bit) Thank you for your time!

การตอบกลับทั้งหมด (4)

more options

as windows recognises that slash as a folder delimiter, I am guessing the file is not being written correctly to the temp folder to open. Does it save correctly so you can open it? Or is it being saved in a sub folder named email?

more options

Thanks for responding, Matt.

> windows recognises that slash as a folder delimiter, I am guessing the file is not being written correctly to the temp folder to open

I'm thinking the same.

> Does it save correctly so you can open it?

Yes, it saves correctly, and I can open it from the saved location.

> is it being saved in a sub folder named email?

No. When the "Save File" dialog appears, the forward-slash is replaced by the dash '-' character, and so the filename becomes "email-client-XXXXXXX_inv-XXXXXXXX.pdf".

more options

I have a similar problem, but mine is with a colon in the filename ":" I believe that's an invalid character for Windows filenames.

Previous to Thunderbird 91.4.1, files with a colon in the filename would open without a problem. I looked in my Windows temp folder and found that previously Thunderbird would strip off the invalid filename character when it would save the file to disk, then it would load the attachment with the modified name in my PDF reader. This was still working as of 91.4.0.

Starting with 91.4.1, it looks like that doesn't happen anymore as Thunderbird is trying to open the attachment with the original filename that includes the colon and since it's not possible to store the file with that name, it isn't found. If instead of opening the attachment, I choose to save it, the colon is automatically stripped from the default filename.

If I have Thunderbird preview the PDF, not using an external program, I don't have any problem displaying the PDF even if it has a colon in the filename. I'd prefer to use the external viewer by just opening the attachment, but there are a couple of workarounds available.

more options

I am now having the same problem in when someone sends me a .pdf with a dash ( - ) in the file name Thunderbird seems to be saving it as a colon ( : ) in the temp file and windows is not able to open the file. If I right click the attachment and select save as the file name stays as sent with a dash ( - ) . If I simply drag the file to my desktop then the dash is removed. I am able to open both file from the desktop