Upgraded to CF 9.0.1. Still broken, although the exception message is a little more insightful.
Message An exception occurred while using action=write. Detail java.lang.ClassCastException: coldfusion.vfs.VFileOutputStream cannot be cast to java.io.FileOutputStream I couldn't find this in the adobe bug database so I might whack it in... On Dec 1, 3:31 pm, Andrew <[email protected]> wrote: > Thanks Paul. > > On Dec 1, 3:19 pm, Paul Kukiel <[email protected]> wrote: > > > I'm pretty sure Steve showed this bug at the CFUG a few months ago. Not > > sure if he logged it but it should be logged as I would expect that to > > have worked. > > > Paul > > > On 1/12/2010 3:12 PM, Andrew wrote: > > > > Hi, > > > > I was just trying to use cfspreadsheet to save into the virtual file > > > system but it keeps falling over with an error like: > > > > Message An exception occurred while using action=write. > > > Detail java.io.FileNotFoundException: ram://performance.xls > > > > Here's how I'm calling it: > > > > <cfspreadsheet action="write" filename="ram://performance.xls" > > > query="qPerformanceReport" overwrite="true"> > > > > If I change the filename to a physical drive and make no other > > > changes, eg c:/performance.xls it works. > > > > As far as I can tell the vfs is working as this code creates a file > > > and reads it back successfully: > > > > <cffile action = "write" > > > file = "ram://test.txt" > > > output = "This is a test file"> > > > > <cffile action="read" file="ram://test.txt" variable="test"> > > > > <cfoutput>#test#</cfoutput> > > > > I'll just fall back to using the physical filesystem here I think, but > > > I am interested to know if anyone else has the same issue with > > > cfspreadsheet and the vfs? Or am I doing something wrong? > > > > I am using CF version 9,0,0,251028 (developer edition) on Windows 7. > > > I guess I should try 9.0.1.... > > > > Andrew. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
