On Aug 20, 3:37 am, Robin <[EMAIL PROTECTED]> wrote:
> When uploading either a single image or bulk images I get the
> following error:
>
> "access denied (java.io.FilePermission D:\home read)" - full trace
> below.

Sounds like you have a permission error and CF is not allowed to write
files to the location you are storing images.

> My set up is on a shared host. FC5.0.0, CF8, MySQL5, IIS. I have FC
> as a standalone configuration. FUs work brilliantly.
>
> Curiously, I can upload a flash file with no issues.

It's possible that the directory containing flash has the right
permissions assigned.  If the directory that you are uploading to
doesn't exist then FarCry, via CF, will create the directories for
you.  This will mean they'll have permissions relevant to the CF
server, and not necessarily appropriate for your application.

> My host allows CFDirectory, CFFile, etc and it is turned on.
>
> The host support guys are wondering why FC refers to the full address
> - including the "D:\home", which they say FC shouldn't be trying to
> access.

What version of FarCry are you using?  v4+ stores a relative file
address.  And builds an absolute address for CFFILE based on your
project configuration.  In any event FC is not accessing anything --
ColdFusion is.  FC just provides the location. As far as I'm aware
CFFILE writes require the absolute path on the server.

> Can anybody suggest what the problem and solution might be?

A permissions problem ;)  Try changing the file permissions on the
directory structure where you are writing images eg. ./www/images/*

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" 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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to