[thelist] ColdFusion CFFILE problem

Raymond Camden jedimaster at macromedia.com
Tue Apr 17 16:36:32 CDT 2001


Remove the CFOUTPUT. Whenever you use vars in strings sent to CF tags, or
functions, you don't need the cfoutput.

 <cffile action="DELETE"
 file="/home/httpd/html/assets/opsfiles/#attributes.filename#">

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : jedimaster at macromedia.com
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Saidi; Marwan
> Sent: Tuesday, April 17, 2001 12:06 PM
> To: 'thelist at lists.evolt.org'
> Subject: [thelist] ColdFusion CFFILE problem
> I am getting a problem when trying to delete a file. I get this error:
>
> Error processing CFFILE
>
> Unable to delete the file
> '/home/httpd/html/assets/opsfiles/testimage2.gif.'
> No such file or directory
>
> However, the file exists, and the path is correct. I am running
> Red Hat 6.2,
> CF Pro 4.5.1 SP2. The directory and file in question have 777 permissions,
> and file uploads work fine.
>





More information about the thelist mailing list