This is more question than an issue.

I have uploaded text files (.txt). The text of these files will be displayed in the browser window if I klick on the download link. I would like to download these files directly to the disk instead of displaying it in the browser window.

I tried to integrated the modules http://drupal.org/project/file_force and http://drupal.org/project/download_file but I was not able solve my issues.

Does anyone know how to enable this direct download?
Thank you!

Comments

JCB’s picture

Hi Guys,

Here is how I got my Filedepot to supply popup box to save file instead of opening in same window.

First let me state that I think these 3 posts are all experiencing the same issue.
http://drupal.org/node/1543430
http://drupal.org/node/979482
http://drupal.org/node/966256

Here is my solution (derived from http://drupal.org/node/966256)
1. edit the filedepot.module file
2. Replace
$inline_types = variable_get('filefield_inline_types', array('^text/', '^image/', 'flash$'));
with
$inline_types = ''
3. Make sure you get both instances in the filedepot.module file

This worked for me.

_timpatrick’s picture

Status: Active » Fixed

Moving to fixed unless any new issues arise

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

subhojit777’s picture

Issue summary: View changes

I guess it would be good if we make this change in the module itself.