Spike
Nick Gorst wrote:
Yes it is. If it isn't I get a different error. It's like the IIS server is uploading files to the wrong directory or CFMX is looking for the wrong directory.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Walker Sent: Thursday, 6 November 2003 10:14 AM To: CFAussie Mailing List Subject: [cfaussie] RE: cffile Java.IO.FilePermision Error
As far as I'm aware, when the form is submitted the file is stored in a temp
location -- it is already uploaded. When you use cffile upload you are
merely moving the file from the temp location to the location you specify.
Is the form enctype set enctype="multipart/form-data" ?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:bounce-cfaussie- [EMAIL PROTECTED] On Behalf Of Nick Gorst
Sent: Thursday, 6 November 2003 12:09 p.m.
To: CFAussie Mailing List
Subject: [cfaussie] RE: cffile Java.IO.FilePermision Error
Upload of a file and no the temp file does not exist. Isn't the temp file the file that is created by a CFFILE upload? I'm not sure why the system is looking for the file it mentions I certainly didn't put it in any of my code.
<cfif P_Vessel_Image_1 neq ""> <cffile action="upload" filefield="P_Vessel_Image_1"
destination="e:\inetpub\wwwroot\bla\building\images\" nameconflict="makeunique"> <cfset ImageName = File.ServerFile> </cfif>
Any clues?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Walker
Sent: Thursday, 6 November 2003 10:01 AM
To: CFAussie Mailing List
Subject: [cfaussie] RE: cffile Java.IO.FilePermision Error
What are you actually doing with cffile? Upload? And does that temp file exist?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:bounce-cfaussie- [EMAIL PROTECTED] On Behalf Of Nick Gorst
Sent: Thursday, 6 November 2003 11:57 a.m.
To: CFAussie Mailing List
Subject: [cfaussie] cffile Java.IO.FilePermision Error
Hi
I get the following error when trying to use CFFILE in CFMX
"access denied (java.io.FilePermission C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot- tmp\neotmp20763.tmp read) null <br>The error occurred on line -1."
I have allowed CFFILE, I have setup Sandbox security to allow writing to the directory, I have set up the directory permisions to allow web users to write to the directory.
Is there something blindingly obvious missing here or do I need to start fine tuning the system with an axe :)
Has anyone encountered this before? I've tried getting info from Macromedia Forums but can't find what I'm looking for (Or I'm looking for all the wrong things) I also did a search back over my cfaussie emails and couldn't see anything.
Axe at the ready
Nick Gorst Web Developer
BLA Pty Ltd 45 Aquarium Avenue Hemmant, Queensland 4174 Australia. Phone: (07)3890 1115 Fax: (07)3890 5388 Mob: 0419 901 115 www.bla.com.au
****************************************************************
This e-mail, together with any attachments, is intended for the named
recipient(s) only. If you have received this message in error, you are
asked to inform the sender, mailto:[EMAIL PROTECTED] , as quickly as
possible and delete this message and any copies of this message from
your computer system network.
Any form of disclosure, modification, distribution and/or publication of this e-mail message is prohibited. Unless otherwise stated, this e-mail represents only the views of the sender and not the views of the Bob Littler Agencies Pty Ltd
****************************************************************
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to leave-cfaussie- [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to leave-cfaussie- [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
-- Stephen Milligan Software Architect for http://www.bestrates.com.au MSN: [EMAIL PROTECTED]
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
