Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Downloading of Video file vs. Streaming
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sr_erick
Senior Member

USA
1318 Posts

Posted - 06 October 2004 :  21:05:26  Show Profile  Visit sr_erick's Homepage  Send sr_erick a Yahoo! Message
Hello all,

I have a quick question. Is there any way to allow someone to just download a video file without it by default opening up windows media player (or the default player) and playing as it downloads (kind of like fake streaming). I don't want people to do that. I want them to be presented with a "save as" box when they try and download. The way I am doing it now, is by zipping up these files. Anyone have a solution where I don't need to do this?

Thanks!




Erick
Snowmobile Fanatics

-gary
Development Team Member

406 Posts

Posted - 06 October 2004 :  23:06:17  Show Profile
Read the file in, Response.AddHeader "content-disposition","attachment; filename=fname.ext" and binary write it out. If you just offer a link, then you can't stop the default behavior of the users browser.

KawiForums.com


Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 07 October 2004 :  04:55:27  Show Profile  Send pdrg a Yahoo! Message
XPSP2 may help to some degree - I now hit .wmv files from some sites, and the content blocker/popup blocker bar appears - If I 'allow restricted content' I get the option to play the video file or save it to disk...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.52 seconds. Powered By: Snitz Forums 2000 Version 3.4.07