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.

Reply via email to