You could do a cffile check for the existence of the file (inside a try/catch) in a loop with a limit to make sure the file is there before doing the read.
> I would have though by placing a timeout on cfexecute, the remainder of the > script would hold off before running it's stuff. Doesn't seem to be working. > I'm converting an excel document to html and this process works fine. As > soon as this has finished I need to read one of the files so I can grab the > worksheet names. I'm getting File Not Found errors, and the file is there > but I think it's because I need another 15 to 30 seconds before it's ready. > > Anyone have a suggestion for pausing a template? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270047 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4