Robert Bailey wrote: > > I can use CFExecute on my host. But the file I create I need to read it > into a variable, but CFFILE does not seem to work as it throws an error > saying it exceeded the allotted time limit, so I am guessing they shut > this off, but kept CFExecute.
This does not sound right. Do you have any idea how many MB a server can read in 30 seconds or whatever your timeout is? Even on old hardware I routinely do more as 20 MB per second. I would expect that you are calling something external (cfexecute perhaps?) before the cffile and that it is that something that is causing the timeout, but it is reported incorrectly as being a cffile timeout because cffile is the first tag executed after the external call and hence the first tag that CF can kill [1]. Anyway, if you don't have permission to use cffile, the error will say you don't have permission. Jochem [1] Bug has been submitted. To reproduce: <cfsetting requesttimeout="2"> <cflock name="wait" type="readonly" timeout="12" throwonerror="No"> <!--- The following line exceeds the timeout ---> <cflock name="wait" type="exclusive" timeout="10" throwonerror="No"> </cflock> </cflock> <!--- One of the following lines will show up in the error ---> <cfset a=0> <cfset a=1> <cfset a=2> <cfset a=3> <cfset a=4> <cfset a=5> <cfset a=6> <cfset a=7> <cfset a=8> <cfset a=9> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

