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.

Search Support

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.

Learn More

Downloading a pdf file, saving it, won't show the full name of the saving file when the name contains a space, stopping the file name.

  • 6 replies
  • 2 have this problem
  • 98 views
  • Last reply by Old_Snail

more options

Downloading a pdf file, the name of the file contains a space in the middle of the file. The name showing on the 'Save' popup is the first few letters up to the space. Works fine on IE8. For instance, a file named "old snail_12345.pdf" would only show "old" (ignore the "s). This is on Firefox 30.0, WinXP Pro.

Downloading a pdf file, the name of the file contains a space in the middle of the file. The name showing on the 'Save' popup is the first few letters up to the space. Works fine on IE8. For instance, a file named "old snail_12345.pdf" would only show "old" (ignore the "s). This is on Firefox 30.0, WinXP Pro.

Chosen solution

Apparently there is an extension to work around this. I haven't tried it myself. See:

http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

Read this answer in context 👍 1

All Replies (6)

more options

Is this a problem when you are viewing the file in Firefox's built-in PDF Viewer and using its download button, or when you are using a download button in a web page?

I've seen this problem occur when the server is pushing a different file name than the actual file name (for example, the file name is pdf.asp?id=12345 but the server is sending the name Annual Report.pdf in the headers sent with the file). I'm not aware of a workaround for the user, but for what it's worth, it is easy to fix on the server by replacing the spaces with %20 (the standard substitution used in web addresses).

more options

No, its not that. If you know Charter Communications MyAccount, you can download a pdf of your current statement and the name has a space in it. That 'Click' goes to what looks like is a Windows 'Save" PopUp routine with the filename and where to save it. Under Internet Explorer, the name is completely showing, including a space in the file name. Under the Firefox, only the first few letters showing, up to the space. I've used that routine in C++ a decade ago myself, but I don't know why its parsed differently.

more options

I don't know if this will help.

PDF Download https://addons.mozilla.org/en-US/firefox/addon/pdf-download/ Use PDF Download to do whatever you like with PDF files on the Web. Regain control and eliminate browser problems, view PDFs directly in Firefox as HTML, and use the all-new Web-to-PDF toolbar to save and share Web pages as high-quality PDF files.

more options

I tried your pdf-download addon, but ,sorry, didn't fix to problem. I don't think that the .pdf is the problem, but the parsing of any file Save. Thanks, I've been printing a web page with CutePDF. I'll check out the Web-to-PDF.

more options

Chosen Solution

Apparently there is an extension to work around this. I haven't tried it myself. See:

http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

more options

Thanks very much. The truncfix worked and saved the file's full name with the space.