Alternatively, though maybe not ideal, you can have cf copy the 
requested file to a publicly accessible directory and use CFLOCATION to 
send them to it after it's been copied there. Then have a scheduled task 
or a shell script that deletes files in that directory that are older 
than a certain date/time.

I have definitely seen issues with cf and cfcontent on files larger than 
5MB although your explanation of it is the first I've heard. Can anyone 
confirm that such is the case? I would think that once the web browser 
starts serving the page (or file with cfcontent) that cf has already 
handed it off and it's out of the picture.


owen

Ellison, Ben A wrote:

>I haven't used CFCONTENT to distribute large files...  
>You could always whip something up that would allow you to maintain your
>..htaccess files via some kind of CF admin.
>
>--Ben
>
>
>
>-----Original Message-----
>From: Ronald Gallagher [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, May 31, 2005 12:09 PM
>To: CF-Linux
>Subject: CFContent and Video Files
>
>Hi All,
>
>I am trying to password protect video files and of course I am looking
>at the ol' reliables like the CFCONTENT tag and .htaccess files.
>...htaccess isn't ideal because I want to put the video files in
>different directories and I don't want to manage a bunch of .htaccess
>files.
>
>CFCONTENT works great on a development server, but if I try using
>CFCONTENT to serve the video files on a production site-- then the
>server gets hammered and CFMX7 locks up.  I read somewhere that
>CFCONTENT actually locks that instance of CF until it is finished
>serving the file.  Which if I have CF set to only allow for 10
>concurrent instances and the average video file is over three minutes
>long-- you can see why CF would lock up.
>
>The question is, how have others password protected video files using
>ColdFusion or any other technology for that matter (I am open to using
>apache or php or any method)?
>
>Thanks in advance,
>Ron
>
>  
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3961
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to