Hi, I have wmv files in two formats, 100kb and 256 kb.
I want to have the 100 kb files stream but i want the 256 kb streams for download only.
Can i control this without the client or viewer having to right click the file... in other words..
they click and it triggers a download to a folder in their computer, basically the same thing as save file as, but without the right click requirement... basically make it dummy proof!
any pointers to articles on the subject appreciated
basically what you are doing in any of the languages is making a page and setting the content type header to your type of file (or just plain binary if you want to ensure the browser won't open it automatically)...then you are streaming the file under that content type and the browser takes that and says to the user "what do you want to do with this?"...
then this just becomes a scripted page and you just link to that like a normal page and you'll get the desired result. this is about the only way you can do it, but again, you can do it in just about any web scripting language (php, perl, asp, jsp, etc.)...