Do sandbox permissions work differently for CFC's? I have a sandbox that works if I write straight cf code like so: <cffile action="upload" filefield="form.filename" destination="my/directory/path" nameconflict="makeunique" accept="image/jpeg,image/pjpeg">
If I put the same code in a CFC and invoke it, I get an access denied error on the directory in the destination attribute. This destination is outside the web root, but I've tried with one inside the web root, too. I've tried with a local cfc, and a cfc that's in the cfc path (also outside the webroot). Makes no difference where the CFC is. If I create an object for the CFC and call the same method, it works - no access denied. So, just in trying to understand here, why does it not work with cfinvoke, but it works with createObject? -- Deanna Schneider UWEX-Cooperative Extension Interactive Media Developer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184884 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

