X
Tap here to go to the mobile version of the site.

Safely share files online with encrypted links that “self-destruct.” Try Firefox Send.

Give hackers a swift kick in the cookies. See if your data has been affected by a breach with Firefox Monitor. Try it now.

Access your history, passwords and open tabs wherever you are with Sync. Connect a second device.

Support Forum

How can I force Firefox to open EPS file upon Download? Settings won't "take"

Posted

I work in a job where I must download an EPS file and have it open in Adobe Illustrator straightaway, without dialog box. I have checked the "Do this every time" box, and set it to always open Illustrator upon download of an EPS file in the Options panel. It will not "take" my instruction, and always asks me what to do with the file when it is downloaded, every time. My coworkers say this is a "known bug" -- that's a pretty heinous bug, Mozilla.

Is there an extension or about:config tweak we can use to bypass the dialog box?

I work in a job where I must download an EPS file and have it open in Adobe Illustrator straightaway, without dialog box. I have checked the "Do this every time" box, and set it to always open Illustrator upon download of an EPS file in the Options panel. It will not "take" my instruction, and always asks me what to do with the file when it is downloaded, every time. My coworkers say this is a "known bug" -- that's a pretty heinous bug, Mozilla. Is there an extension or about:config tweak we can use to bypass the dialog box?
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 31.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

More Information

WestEnd
  • Top 10 Contributor
59 solutions 4814 answers

Where is the coworker getting the known bug at? Site? And did you contact Adobe about file association as well since if that is Adobe format association.

Where is the coworker getting the known bug at? Site? And did you contact Adobe about file association as well since if that is Adobe format association.
Was this helpful to you? 0
Quote

Question owner

WestEnd said

Where is the coworker getting the known bug at? Site? And did you contact Adobe about file association as well since if that is Adobe format association.

? We all get this "What should Firefox do with this file?" dialog box when we try to download and open an EPS file. They tell me Mozilla is aware that the settings do not work, to instruct it to automatically open a file upon download. I have opened Options and told it to open the EPS file with Adobe Illustrator, as instructed... it is supposed to work but it does NOT, that is the "bug." Of course Adobe has nothing to do with this, since it's Mozilla Firefox that is supposed to hand off the file to open automatically (it opens in Illustrator just fine after I hit OK on this dialog box). P.S. It worked before the Quantum update. P.S.S. I do NOT want to have to go back to using Chrome! :(

''WestEnd [[#answer-1161234|said]]'' <blockquote> Where is the coworker getting the known bug at? Site? And did you contact Adobe about file association as well since if that is Adobe format association. </blockquote> ? We all get this "What should Firefox do with this file?" dialog box when we try to download and open an EPS file. They tell me Mozilla is aware that the settings do not work, to instruct it to automatically open a file upon download. I have opened Options and told it to open the EPS file with Adobe Illustrator, as instructed... it is supposed to work but it does NOT, that is the "bug." Of course Adobe has nothing to do with this, since it's Mozilla Firefox that is supposed to hand off the file to open automatically (it opens in Illustrator just fine after I hit OK on this dialog box). P.S. It worked before the Quantum update. P.S.S. I do NOT want to have to go back to using Chrome! :(

Modified by seattlespayne

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

Helpful Reply

Could you find out the content-type the server is indicating for that file? The way to do this is a little bit obscure, but here goes.

First, open Firefox's Network Monitor in the lower part of the tab where you are clicking the link. Either:

  • "3-bar" menu button > Web Developer > Network
  • (menu bar) Tools > Web Developer > Network
  • (Windows) Ctrl+Shift+e

Whenever you trigger a request in that tab, Firefox will log it in the Network Monitor.

Click the button to download the EPS file and Firefox should start downloading it to the TEMP folder in the background. You can cancel at that point.

Click the request line in the Network Monitor and Firefox should open a panel on the right side with details. One of the sections of that panel is called Headers; that might be displayed automatically the first time.

In the Headers panel, find "Response Headers" -- response is what the server sent back -- and look for a line starting with Content-Type and see what it lists.

In order for Firefox to handle this download automatically every time, it needs to be something unique to the files, and not something generic like "application/octet-stream" that sites use for a wide variety of different types of binary files.

Could you find out the ''content-type'' the server is indicating for that file? The way to do this is a little bit obscure, but here goes. First, open Firefox's Network Monitor in the lower part of the tab where you are clicking the link. Either: * "3-bar" menu button > Web Developer > Network * (menu bar) Tools > Web Developer > Network * (Windows) Ctrl+Shift+e Whenever you trigger a request in that tab, Firefox will log it in the Network Monitor. Click the button to download the EPS file and Firefox should start downloading it to the TEMP folder in the background. You can cancel at that point. Click the request line in the Network Monitor and Firefox should open a panel on the right side with details. One of the sections of that panel is called Headers; that might be displayed automatically the first time. In the Headers panel, find "Response Headers" -- response is what the server sent back -- and look for a line starting with '''Content-Type''' and see what it lists. In order for Firefox to handle this download automatically every time, it needs to be something unique to the files, and not something generic like "application/octet-stream" that sites use for a wide variety of different types of binary files.
Was this helpful to you? 1
Quote

Question owner

It says this:

content-type: application/json; charset=utf-8

It says this: content-type: application/json; charset=utf-8

Modified by seattlespayne

Was this helpful to you?
Quote

Question owner

It worked for one download and is now back to doing this popup message.

I'm not sure what to do now.

Firefox also does not allow me to set a destination folder for the downloads, they all go to Temp folder when I have told it to put them in Downloads folder.

It worked for one download and is now back to doing this popup message. I'm not sure what to do now. Firefox also does not allow me to set a destination folder for the downloads, they all go to Temp folder when I have told it to put them in Downloads folder.

Modified by seattlespayne

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

Helpful Reply

seattlespayne said

It says this: content-type: application/json; charset=utf-8

That doesn't seem right. A JSON file is a data structure meant to be used by a script. An EPS file should have a content-type more like application/eps, image/eps, application/x-eps, or image/x-eps.

Or maybe a script in the page is reading that JSON data file and constructing an EPS download out of it locally? In that situation, I think Firefox will always display a download dialog because of limits imposed on how scripts work with files.

''seattlespayne [[#answer-1161571|said]]'' <blockquote> It says this: content-type: application/json; charset=utf-8 </blockquote> That doesn't seem right. A JSON file is a data structure meant to be used by a script. An EPS file should have a content-type more like application/eps, image/eps, application/x-eps, or image/x-eps. Or maybe a script in the page is reading that JSON data file and constructing an EPS download out of it locally? In that situation, I think Firefox will always display a download dialog because of limits imposed on how scripts work with files.
Was this helpful to you? 1
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type.

Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type.
Was this helpful to you? 1
Quote

Question owner

These are files that exist on a remote server, I have no idea how the programmers get them to us. I'm not sure why this worked correctly with my work for 10 years, and as soon as the Quantum update happened, it started doing this.

Okay... I'll go back to Chrome. :(

These are files that exist on a remote server, I have no idea how the programmers get them to us. I'm not sure why this worked correctly with my work for 10 years, and as soon as the Quantum update happened, it started doing this. Okay... I'll go back to Chrome. :(
Was this helpful to you?
Quote

Question owner

jscher2000 said

Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type.

Yes it opens a new tab when it downloads the file. The tab disappears as soon as the download finishes (instantaneously), then the dialog box pops up.

''jscher2000 [[#answer-1161580|said]]'' <blockquote> Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type. </blockquote> Yes it opens a new tab when it downloads the file. The tab disappears as soon as the download finishes (instantaneously), then the dialog box pops up.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

seattlespayne said

jscher2000 said
Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type.

Yes it opens a new tab when it downloads the file. The tab disappears as soon as the download finishes (instantaneously), then the dialog box pops up.

Maybe it's easier to use Chrome, but if you have another two minutes...

You can open the Browser Console window using either:

  • "3-bar" menu button > Web Developer > Browser Console
  • (menu bar) Tools > Web Developer > Browser Console
  • (Windows) Ctrl+Shift+j

Click the trash can icon at the upper left to clear the window, then click the funnel icon to display a row of different types of stuff the console can show. Click the right-most two buttons for XHR and Requests.

Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can cancel the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file?

''seattlespayne [[#answer-1161582|said]]'' <blockquote> ''jscher2000 [[#answer-1161580|said]]'' <blockquote> Is a new tab opening for the download? Unfortunately, the Network Monitor is limited to showing information for the current tab, so if you are getting the download in a new tab, I'll have to mention a different way to view the content type. </blockquote> Yes it opens a new tab when it downloads the file. The tab disappears as soon as the download finishes (instantaneously), then the dialog box pops up. </blockquote> Maybe it's easier to use Chrome, but if you have another two minutes... You can open the Browser Console window using either: * "3-bar" menu button > Web Developer > Browser Console * (menu bar) Tools > Web Developer > Browser Console * (Windows) Ctrl+Shift+j Click the trash can icon at the upper left to clear the window, then click the funnel icon to display a row of different types of stuff the console can show. Click the right-most two buttons for XHR and Requests. Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can cancel the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file?
Was this helpful to you?
Quote

Question owner

jscher2000 said

Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can cancel the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file?

Thanks so much for your time. I am confused by your wording. I started the download, then "you can cancel the URL or the little triangle at the left end to view the headers."

I clicked the XHR to filter but many, many files came up still so I have no idea which one to ask for the content type on. The very top one (which looks to be an URL) says "Content-Type text/plain;charset=UTF-8". One says "Content-Type application/json; charset=utf-8."

Again this is not done on the tab that pops out when the download is occurring.

I apologize for being dense, this is out in the weeds for me. ;)

''jscher2000 [[#answer-1161588|said]]'' <blockquote> Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can cancel the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file? </blockquote> Thanks so much for your time. I am confused by your wording. I started the download, then "you can cancel the URL or the little triangle at the left end to view the headers." I clicked the XHR to filter but many, many files came up still so I have no idea which one to ask for the content type on. The very top one (which looks to be an URL) says "Content-Type text/plain;charset=UTF-8". One says "Content-Type application/json; charset=utf-8." Again this is not done on the tab that pops out when the download is occurring. I apologize for being dense, this is out in the weeds for me. ;)

Modified by seattlespayne

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

seattlespayne said

I am confused by your wording. I started the download, then "you can cancel the URL or the little triangle at the left end to view the headers."

Sorry, you can click the URL.

Try cleaning up again, set XHR and Requests to show, and click the garbage can to clear the list. Then try the download again. The goal is to isolate the request for the EPS file so you can inspect that one's headers. I suppose you have a reasonable idea of its file name.

''seattlespayne [[#answer-1161642|said]]'' <blockquote> I am confused by your wording. I started the download, then "you can cancel the URL or the little triangle at the left end to view the headers." </blockquote> Sorry, you can click the URL. Try cleaning up again, set XHR and Requests to show, and click the garbage can to clear the list. Then try the download again. The goal is to isolate the request for the EPS file so you can inspect that one's headers. I suppose you have a reasonable idea of its file name.
Was this helpful to you?
Quote

Question owner

When I click the garbage can to clear the list, before I try the download, then I click the download button, no activity registers on the Network list (see image below). The tab pops out to signify that the EPS file is going to download, the download happens (after I click OK because it doesn't automatically do it like it says it should), but nothing occurs in this window. I need a way to get the headers on the actual EPS file download but the tab disappears instantly (although occasionally I will get an Internal Server Error and it stays out -- perhaps I need to wait until I get one!).

When I look at the list without clearing it, there are no EPS files in the list, only text and gifs that appear on the page.

Suppose I find out what the content type is, what is the next step? Thanks again!

When I click the garbage can to clear the list, before I try the download, then I click the download button, no activity registers on the Network list (see image below). The tab pops out to signify that the EPS file is going to download, the download happens (after I click OK because it doesn't automatically do it like it says it should), but nothing occurs in this window. I need a way to get the headers on the actual EPS file download but the tab disappears instantly (although occasionally I will get an Internal Server Error and it stays out -- perhaps I need to wait until I get one!). When I look at the list without clearing it, there are no EPS files in the list, only text and gifs that appear on the page. Suppose I find out what the content type is, what is the next step? Thanks again!
Was this helpful to you?
Quote
FFus3r 50 solutions 757 answers
try this addon: * https://addons.mozilla.org/en-US/firefox/addon/open-with-adobe-illustrator/
Was this helpful to you? 0
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

seattlespayne said

When I click the garbage can to clear the list, before I try the download, then I click the download button, no activity registers on the Network list (see image below).

Yes, you need to use the Browser Console window because of the new tab problem.

''seattlespayne [[#answer-1161676|said]]'' <blockquote> When I click the garbage can to clear the list, before I try the download, then I click the download button, no activity registers on the Network list (see image below). </blockquote> Yes, you need to use the Browser Console window because of the new tab problem.
Was this helpful to you?
Quote

Question owner

FFus3r said

try this addon:

Does not work because it requires a right-click on an image, whereas I need to click a little icon to download the EPS file. Thanks anyway!

''FFus3r [[#answer-1161678|said]]'' <blockquote> try this addon: * https://addons.mozilla.org/en-US/firefox/addon/open-with-adobe-illustrator/ </blockquote> Does not work because it requires a right-click on an image, whereas I need to click a little icon to download the EPS file. Thanks anyway!
Was this helpful to you?
Quote

Question owner

jscher2000 said

Yes, you need to use the Browser Console window because of the new tab problem.

Console? I'm sorry but I had clicked on Network (I don't recall you saying to use the Console tab). That shows no activity either after I click on the garbage can and try to download a file. I just need to figure out the content type... then what does one do, tell Firefox to open whatever file type it is, with Illustrator?

''jscher2000 [[#answer-1161681|said]]'' <blockquote> Yes, you need to use the Browser Console window because of the new tab problem. </blockquote> Console? I'm sorry but I had clicked on Network (I don't recall you saying to use the Console tab). That shows no activity either after I click on the garbage can and try to download a file. I just need to figure out the content type... then what does one do, tell Firefox to open whatever file type it is, with Illustrator?

Modified by seattlespayne

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8100 solutions 66197 answers

Sorry not the tab-specific Console, this one:

jscher2000 said

You can open the Browser Console window using either:
  • "3-bar" menu button > Web Developer > Browser Console
  • (menu bar) Tools > Web Developer > Browser Console
  • (Windows) Ctrl+Shift+j
Click the trash can icon at the upper left to clear the window, then click the funnel icon to display a row of different types of stuff the console can show. Click the right-most two buttons for XHR and Requests.

Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can cancel click the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file?
Sorry not the tab-specific Console, this one: ''jscher2000 [[#answer-1161588|said]]'' <blockquote>You can open the Browser Console window using either: * "3-bar" menu button > Web Developer > Browser Console * (menu bar) Tools > Web Developer > Browser Console * (Windows) Ctrl+Shift+j Click the trash can icon at the upper left to clear the window, then click the funnel icon to display a row of different types of stuff the console can show. Click the right-most two buttons for XHR and Requests. <br><br> Leaving this window open, switch back to the page and click the download button again. After letting Firefox start the download, you can <s>cancel</s> <u>click</u> the URL or the little triangle at the left end to view the headers. Any new information on the Content-Type for the file? </blockquote>

Modified by jscher2000

Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16923 solutions 152808 answers

If you can't open the file automatically then this usually means that the server doesn't send the file with a valid content type. An automatic action only works properly is there is a action present in "Options/Preferences -> General -> Applications" and stored in handlers.json

If you can't open the file automatically then this usually means that the server doesn't send the file with a valid content type. An automatic action only works properly is there is a action present in "Options/Preferences -> General -> Applications" and stored in handlers.json *https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file
Was this helpful to you?
Quote
FFus3r 50 solutions 757 answers

if firefox won't save your preferences, see this page:

if firefox won't save your preferences, see this page: * https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.