Thank you for this little comment. I completely forgot that CFAJAXPROXY has a bug in the directory listing so I moved it to the root. And all my testing was done in my CFC folder.
----- Original Message ----- From: "Jeff Lucido" <[email protected]> To: [email protected] Sent: Friday, March 9, 2012 7:22:04 PM Subject: Re: [OpenBD] CFFILE action delete Could it have something to do with all CFC's extending the base CFC? On Mar 9, 2012 6:17 PM, < [email protected] > wrote: > > SO why does it work as a CFM page and not inside a CFC? > > ________________________________ > From: "Matthew Woodward" < [email protected] > > To: [email protected] > Sent: Friday, March 9, 2012 7:13:50 PM > > Subject: Re: [OpenBD] CFFILE action delete > > On Fri, Mar 9, 2012 at 4:04 PM, < [email protected] > wrote: >> >> <cffile action="delete" file="../images/products/sample.png" /> > > > File path either needs to be absolute (meaning wrap what you have there in > ExpandPath() or use the full physical path), or you need to add the > uridirectory flag to the tag and set it to true, which allows you to use > relative paths. > > http://www.openbd.org/manual/?/tag/CFFILE > > > -- > Matthew Woodward > [email protected] > http://blog.mattwoodward.com > identi.ca / Twitter: @mpwoodward > > Please do not send me proprietary file formats such as Word, PowerPoint, etc. > as attachments. > http://www.gnu.org/philosophy/no-word-attachments.html > > -- > online documentation: http://openbd.org/manual/ > google+ hints/tips: https://plus.google.com/115990347459711259462 > http://groups.google.com/group/openbd?hl=en > > -- > online documentation: http://openbd.org/manual/ > google+ hints/tips: https://plus.google.com/115990347459711259462 > http://groups.google.com/group/openbd?hl=en -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en -- online documentation: http://openbd.org/manual/ google+ hints/tips: https://plus.google.com/115990347459711259462 http://groups.google.com/group/openbd?hl=en
