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: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to