PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Downloading uploaded files

  1. We've added the File Upload field to our form. It seems that the only way to download the file locally, is to open the file in your browser first, then download through either right click for images, or if pdf, using the Reader function. How can we just download the file without opening from the email notification and/or entries list.

    Thanks,

    Mitch

    Posted 11 years ago on Thursday September 6, 2012 | Permalink
  2. This is largely browser and web server functionality. Every browser handles each file type with different default programs. To prevent trying to open the file in the browser, or in the browser's default program, you can right click on the link, in Windows. I'm not sure how you do that in OS with a single-button mouse.

    You can force the browser to store the file rather than try to open it, but adding some rules to your .htaccess file.

    http://css-tricks.com/snippets/htaccess/force-files-to-download-not-open-in-browser/

    I'm not sure if there are other work arounds which will work better for you or not.

    Posted 11 years ago on Friday September 7, 2012 | Permalink
  3. I tried to add the .htaccess code as recommended, but it didn't work. My .htaccess file is in the root folder. Is that the location you would expect?

    Thanks

    Posted 11 years ago on Friday September 7, 2012 | Permalink
  4. What happens when you say "it didn't work"? The root of the WordPress site is where I would have tried it.

    It's possible your host does not support those overrides in the .htaccess file.

    Does right clicking (or CTRL-click on OSX I guess) on the link to save the file, rather than open it, not work in your situation?

    Posted 11 years ago on Friday September 7, 2012 | Permalink