XFileSharing Pro - download file video (.mp4 .avi)

Message
Author
mario19xx
Posts: 21
Joined: Dec 20, 2009 5:51 pm

download file video (.mp4 .avi)

#1 Postby mario19xx » Mar 24, 2014 10:36 am

Hello! i have enabled video mod and streaming work fine. but if i generate download link and try to download it the video is open in browser new full page.

How i can enable download for users whitout opening file in newpage?

admin
Site Admin
Posts: 1811
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Mar 24, 2014 10:38 am

Hello,

check if there's proper .htaccess exists in /files/ folder of your Document Root.

mario19xx
Posts: 21
Joined: Dec 20, 2009 5:51 pm

#3 Postby mario19xx » Mar 24, 2014 10:58 am

i resolve it by add this to htaccess in public html page.

is god way?

AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .mp4
AddType application/octet-stream .flv

mario19xx
Posts: 21
Joined: Dec 20, 2009 5:51 pm

#4 Postby mario19xx » Mar 24, 2014 11:08 am

No work only for avi and mp4 are open in browser.

i found .htaccess in /files/

how i can resolve it?

Thanks

Dulci
Posts: 112
Joined: Jun 10, 2010 6:45 am

#5 Postby Dulci » Mar 31, 2014 6:51 pm


mario19xx
Posts: 21
Joined: Dec 20, 2009 5:51 pm

#6 Postby mario19xx » Apr 04, 2014 7:57 pm

Thanks Dulci


Return to “XFileSharing Pro”