0

I have created the auto download script of images(JPG,PNG etc) and it is working fine in all browser except the firefox(latest version).

In firefox, before download start the browser is opening the popup asking open with or save file.

Kindly give me direction to save the file automatically using PHP or JS or htaccess etc in firefox.

See the URL as below http://maples-web-services.com/autodownload/index.php

Many Thanks!!

  • which Firefox version you are using? I have tested with FF 27.0, there is no popup coming and download started automatically. Also house.jpg is not opening after being downloaded. – Akhilesh Feb 11 '14 at 20:19
  • The popup is coming in my firefox. My firefor version is same as yours. May be you have checked the checkbox saying "automatically save". If this is not so then please tell me how it can possible that your firefox is not opening a browser and saved it automatically. – facebook-100001631805676 Feb 12 '14 at 18:24
  • No I haven't checked "automatically save". Check in FF safe mode: Go to Help -> Restart with Addons disabled, then try it. – Akhilesh Feb 12 '14 at 18:58

2 Answers2

0

I am sorry to tell you this. I googled and got the possibility for your problem. In chrome we don't have 'open with' feature. But in Firefox we have such. So this link Firefox issue will gives you some information..

  • Thanks for your comment but I am asking to do it via PHP. I am not looking to set manually. I am trying that when any user will open the URL then download will start automatically. – facebook-100001631805676 Feb 12 '14 at 18:26
  • I am asking for PHP script like if the mentioned URL opens in chrome then download will start automatically but in firefox, before download start the popup appears asking for mode of action "save file" or "open with". I want to do same in firefox as in chrome so that in firefox, there will no any popup will appear as in chrome. – facebook-100001631805676 Feb 13 '14 at 15:07
  • http://stackoverflow.com/questions/40943/how-to-automatically-start-a-download-in-php – Gowrishankar_Ind Feb 25 '14 at 10:40
0

It is the addons which are causing problem. Try using Safe mode in FF:

Go to Help -> Restart with Addons disabled

and then try it. If the problem is not persisting then it the addon which is causing problem. To identify the 'con' addon, check them by turning them on one by one.

Akhilesh
  • 1,064
  • 15
  • 28