Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 4 odpovědi
  • 2 mají tento problém
  • 1 zobrazení
  • Poslední odpověď od 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!

Všechny odpovědi (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