Andrew,
You *do* need to specify an absolute file path. I got this to work fine on
CF 6.1 running in Tomcat. In this example, the file
"/Users/porgesm/Desktop/C53UCNA.tar" is an absolute path.
<cfset fileReader = CreateObject("Java", "java.io.FileReader").init("/Users/porgesm/Desktop/C53UCNA.tar")>
<cfdump var="#fileReader#">
I was able to accurately reproduce your initial error message by
substituting the first line of my example with the following line:
<cfset fileReader = CreateObject("Java", "java.io.FileReader").init("C53UCNA.tar")>
Best regards,
Maxim Porges
---
You are currently subscribed to cfaussie as:
lists@...
To unsubscribe send a blank email to
leave-cfaussie-23165F@...
Aussie Macromedia Developers:
http://lists.daemon.com.au/