Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / May 2006



Tip: Looking for answers? Try searching our database.

CFFILE Help..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
enniobozzetti - 30 May 2006 18:49 GMT
I'm trying to upload a file, and I have on my web host Read, and Write
permision on the folder where I want the uploaded file to go, but I'm getting
this error msg.

The following is the internal exception message: access denied
(java.io.FilePermission ..\gallery read)

and here is my cffile tag

<cffile action="upload" filefield="#variables.filename#"
destination="../gallery/" nameconflict="makeunique" >
Fernis - 30 May 2006 18:58 GMT
destination has to be a full path name. use destination="#expandPath("../gallery/")#" if that would help?
jdeline - 30 May 2006 19:00 GMT
Take the #s off of variables.filename.
enniobozzetti - 30 May 2006 19:01 GMT
That worked... Thank you
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.