Safari Download suffix Issue

Viewing 8 posts - 1 through 8 (of 8 total)
#25592

Trevor
Member

Hi,

Great plugin,
When I have a link for a .jsx file (the same is true of a lot of other file types) and download them on most of the browsers the download fine but on Safari the file name gets a .txt added to it so it would become myfile.jsx.txt instead of myfile.jsx
This is a general problem not specific to your download manager but you can fix it so that it would work with your manager.
Google drive has a fix for there download system. They are inserting “application/octet-stream” somehow into the download link which forces Safari to download as is and not add the .txt suffix.
Some people add this or similar fixes to there .htaccess files by I have not have luck with this.
Check out the source code for this page which has a link to a .jsx file on google drive
https://docs.google.com/file/d/0B-FdGXllwjR1U1hTeEtINVg0YTA
I’m sure you can feature out how to add this feature to your plugin. It is not just for .jsx file it is for many types this is just one example.

Look forward to hearing from you

Thanks

#25593

Trevor
Member

This is a link to a .jsx download using your plugin
http://creative-scripts.com/?wpdmdl=298
try it on safari and see that it adds the .txt to the file name

#25677

Shahjada
Keymaster

wpdm has nothing to do with that actually, it is simply causing by safari’s own settings/options.

#25682

Trevor
Member

Hi Shaon,

Thanks for replying.

I understand that the problem is so to speak with safari and not the wpdm plugin.

My point was that just like google uses application/octet-stream to force Safari to download the file as is without adding the .txt suffix so could your plugin.

This would be a big improvement to the plugin. If you examine the code behind this link https://docs.google.com/file/d/0B-FdGXllwjR1U1hTeEtINVg0YTA by clicking the link and then typeing ctrl U (windows) or command U (mac) then you could see how to do it.

It would be great to see if you good do this, keep up the good work,

Trevor

#25688

Shahjada
Keymaster

may you please give me a temporary wp-admin login info to try it in your installation.

#25690

Trevor
Member
This reply has been marked as private.
#25700

Shahjada
Keymaster

ok, done, working good with safari now. I’ll add the adjustment with the next update of the plugin.

#25701

Trevor
Member

That’s great!
I look forward to the next update.

Thanks a lot, really appreciated.

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Safari Download suffix Issue’ is closed to new replies.