file downloads instead of viewing in browser

110 views
Skip to first unread message

Abhishek Madas

unread,
Aug 11, 2017, 11:32:17 AM8/11/17
to DSpace Community
For files greater than 8 MB the file downloads instead of viewing in the browser. For this I tried changing the config values in dspace.cfg file to -1 however the changes are not taking place I am still downloading a file greater than 8 MB.

 
webui.content_disposition_threshold = -1
xmlui.content_disposition_threshold = -1 


Thanks for any help.

Terry Brady

unread,
Aug 11, 2017, 5:36:34 PM8/11/17
to Abhishek Madas, DSpace Community
I have not used a value of -1. I can confirm that if you set the value to a very large number, the file will open inline.

xmlui.content_disposition_threshold = 75000000

Can you confirm that the change has been made in your [dspace-install] folder and that you have restarted tomcat?

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-community+unsubscribe@googlegroups.com.
To post to this group, send email to dspace-community@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.



--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
425-298-5498 (Seattle, WA)

Abhishek Madas

unread,
Aug 14, 2017, 10:24:09 AM8/14/17
to DSpace Community, ama...@gmail.com
Yes I have tried changing that number to a high number and restarted Tomcat but files still download. FYI: I am able to view files in browser for files less than 8 MB. This seems to be the default configuration.


On Friday, August 11, 2017 at 5:36:34 PM UTC-4, Terry Brady wrote:
I have not used a value of -1. I can confirm that if you set the value to a very large number, the file will open inline.

xmlui.content_disposition_threshold = 75000000

Can you confirm that the change has been made in your [dspace-install] folder and that you have restarted tomcat?
On Fri, Aug 11, 2017 at 8:32 AM, Abhishek Madas <ama...@gmail.com> wrote:
For files greater than 8 MB the file downloads instead of viewing in the browser. For this I tried changing the config values in dspace.cfg file to -1 however the changes are not taking place I am still downloading a file greater than 8 MB.

 
webui.content_disposition_threshold = -1
xmlui.content_disposition_threshold = -1 


Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages