Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default How to activate “save as” for downloads ?

    How to activate “save as” for downloads ?

    I am trying to set .mp3 files to download after purchase. I bought an item to test the download link. However the file opens up in a browser and starts playing the music automatically. I do want it to be opened. I want customers to be presented with the “save as” option automatically.

    I have read some previous posts regarding this issue. My .htaccess file does not have # sign in front of ForceType or Header set -

    This is a copy of my css -
    ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch></IfModule>IndexIgnore


    How can I stop opening the file in browser and give “Save As” option to customers ?

  2. #2
    Join Date
    Feb 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: How to activate “save as” for downloads ?

    Quote Originally Posted by xr3461 View Post
    How to activate “save as” for downloads ?

    I am trying to set .mp3 files to download after purchase. I bought an item to test the download link. However the file opens up in a browser and starts playing the music automatically. I do want it to be opened. I want customers to be presented with the “save as” option automatically.

    I have read some previous posts regarding this issue. My .htaccess file does not have # sign in front of ForceType or Header set -

    This is a copy of my css -
    ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch></IfModule>IndexIgnore


    How can I stop opening the file in browser and give “Save As” option to customers ?
    I think the easiest is to just make your downloads ZIP files instead of mp3 or wmv or whatever other format you are using. If they are ZIPS, they have to download and then extract the file to use it.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How to activate “save as” for downloads ?

    Look at the files:
    /download/.htaccess
    /pub/.htaccess

    and ensure that you have your file extensions included in the lists ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: How to activate “save as” for downloads ?

    I guess will have to go for zip option. thks

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: How to activate “save as” for downloads ?

    The .htaccess rules only work for the filetypes mentioned, and ONLY if your webserver is using apache. If you're on a Windows server you'll need to work with your hosting company for alternate means of doing what Apache does easily.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. How do I set up paid for downloads?
    By SteveCollins in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 3 Dec 2010, 09:49 PM
  2. Activate Expired Downloads?
    By NicholeAnn in forum Managing Customers and Orders
    Replies: 19
    Last Post: 16 Aug 2010, 06:41 PM
  3. Downloads save with underscores and wrong size
    By Manya in forum General Questions
    Replies: 11
    Last Post: 12 Jun 2010, 10:20 PM
  4. no download "save as" option choices for mp3 downloads
    By ThisSideOfTheCross in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Feb 2010, 07:38 PM
  5. How do I set up a file for downloads
    By Aphram in forum General Questions
    Replies: 10
    Last Post: 26 Mar 2007, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg