On 8/18/07, Janet MacKay <[EMAIL PROTECTED]> wrote:
> I would guess its because the file doesn't exist.
>
> http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#canWrite()
> Returns: true if and only if the file system actually contains a file denoted 
> by this abstract pathname ...

Shoot, I read that and it didn't occur to me that it would return
false if the file didn't exist.

I totally misread the use of that function, I was thinking that I
could use it to determine if Java was able to create a file in that
directory.

Guess I'll keep movin' on

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286564
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to