Deanna,
You're just asking for an administrative nightmare here... no reason to
write ramfiles at all, let RealServer generate them for you. This is
especially easy to do if you've already got the filenames stored in a
database.
Yes, this does transfer the marginal overhead to your RealServer from your
webserver since RealServer must create and serve the .ram text file to the
client - but the advantages gained in not having to manually maintain those
annoying little files makes the change more than worth it. (Lessons learned
from completely redesigning an restructuring an existing 9,000+ file, 46GB+,
RealServer...)
Some credit is also due to RealNetwork's developer and technical support
departments for fully supporting my efforts of file management and
automation on that project. Those guys are pretty cool!
Regards,
Ryan
-----Original Message-----
From: Deanna L. Schneider
To: [EMAIL PROTECTED]
Sent: 6/22/00 12:46 PM
Subject: Re: OT: Nutscrape Problem
Duane,
I did something similar - writing ram files as people entered clips to a
database of audio and video files. Code goes something like this:
<!----------------------------------------------------------------------
----
---
If it's a new ramfile, write the file.
------------------------------------------------------------------------
----
-->
<cfif #form.new# is "yes">
<cffile action="write"
file="w:netscape\wisconsinvote\docs\avroom\#form.ramfile#"
output="#form.rtspaddress#">
<!----------------------------------------------------------------------
----
---
If it's replacing an old file, delete the old and rewrite.
------------------------------------------------------------------------
----
-->
<cfelse>
<cffile action="delete"
file="w:netscape\wisconsinvote\docs\avroom\#form.ramfile#">
<h4>Let's put something in here to give it a few milliseconds...</h4>
<cffile action="write"
file="w:netscape\wisconsinvote\docs\avroom\#form.ramfile#"
output="#form.rtspaddress#">
</cfif>
-d
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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.