The most efficient way is to store the movies in a directory that is available to the 
web server. Then you can just serve up a link:

<cfoutput> <a href="#videodir#/#filename#">Click here to view movie</a> </cfoutput>

And the Cold Fusion server doesn't even have to get involved in sending the file.
Of course, this opens the directory to nosy people trying random file names to see 
movies that haven't been "given".
If that's a security problem, then you may have to use <cffile>

At 12:56 AM 9/10/00 -0700, CF-Help _India wrote:
>Hi..
>
>Could someone suggest/give code to me on how i can use <cffile> instead
>of a table/database ????
>
>Some code examples will really be helpfull
>
>Regards
>Vikram
>
>
>__________________________________________________
>FREE voicemail, email, and fax...all in one place.
>Sign Up Now! http://www.onebox.com
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body. 


---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 Fax 1.212.679.8032

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to