Mozilla 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

Firefox doesn't open files automatically

  • 9 प्रत्युत्तर
  • 2
  • 1 view
  • के द्वारा अंतिम प्रतियुतर cor-el

more options

Hello, So I've had this problem for some time and only recently did I decide to try to solve it but with no luck. Under 'Downloads' 'Save files to' is enabled and under 'Applications' I set it to open jpg and png image files with Xnview, the default image viewer for my computer, and by checking 'Do this automatically for files like this from now on' box on download. Yet every time I download an image of either type the file does not open automatically. I don't have this problem in Chrome. I've tried refreshing/resetting Firefox; reinstalling Firefox; creating a new profile; restarting with no addons; but still the issue persists.

Help would be appreciated! Thanks.

Hello, So I've had this problem for some time and only recently did I decide to try to solve it but with no luck. Under 'Downloads' 'Save files to' is enabled and under 'Applications' I set it to open jpg and png image files with Xnview, the default image viewer for my computer, and by checking 'Do this automatically for files like this from now on' box on download. Yet every time I download an image of either type the file does not open automatically. I don't have this problem in Chrome. I've tried refreshing/resetting Firefox; reinstalling Firefox; creating a new profile; restarting with no addons; but still the issue persists. Help would be appreciated! Thanks.

All Replies (9)

more options

What O/S are you using and did you check file associations?

more options

When you select to save a file, the file is only saved to disk. If you choose to open the file, it is downloaded to temp storage, then it is opened by whatever it set to open it.

more options

WestEnd said

What O/S are you using and did you check file associations?

I have Windows 10 and the default app for images is Xnview. I think it's Firefox specific though since I tested another image viewer and also on Chrome 'Always open files of this type' works as expected.

FredMcD said

When you select to save a file, the file is only saved to disk. If you choose to open the file, it is downloaded to temp storage, then it is opened by whatever it set to open it.

So when I select it to open the file and check the box 'Do this automatically for files like this from now on', the latter is meant to do nothing?

more options

That depends on the settings.

more options

FredMcD said

That depends on the settings.

And what are these settings?

more options

Sorry, wrong word. It depends on your choice. Open, or Save.

more options

Cicala said

FredMcD said
That depends on the settings.

And what are these settings?

PNG and JPG images are little tricky because by default Firefox displays them itself. How are you getting a download dialog for the images?

If the server has forced a download by setting this HTTP header on the transmission --

content-disposition: attachment

-- then Firefox will not follow the "do this every time" for historical reasons that I can't remember. However, the workaround of using an add-on to strip off that header would then cause Firefox to display the image in a tab, so that doesn't work for this kind of download. Hmm...

more options

I have the same issue with Teamviewer files. Any suggests on resolving, or if Mozilla can fix the bug, that'd be great :-)

more options

Note that "Do this automatically for files like this from now on" applies to a specific MIME type that the server sends and not to the file extension.