As I understand it, Coldfusion uploads a file to a temporary directory, default location is under the c:\Coldfusion directrory, then when the upload is complete, it copies the uploaded file to the location in the 'destination=' parameter of the CFFILE tag
The destination directory is always under my control and i have access. It's the temporary directory that's the problem.. Cheers Mike Kear On Thu, Jan 12, 2012 at 4:04 AM, Raymond Camden <[email protected]>wrote: > > I'm confused - can't you tell CFFILE/action=upload to send the file to > a place you _do_ have access to? Or does even that fail? > > > On Wed, Jan 11, 2012 at 11:02 AM, Mike Kear <[email protected]> wrote: > > > > Ray all the shared hosts have folders that are not web accessible. The > > question is though, how to make ColdFusion upload files into a temporary > > directory that i have access to when i use <CFFILE He's got CF set > up > > so that whenever I upload using ColdFusion, I get error "cannot access > the > > temp directory. > > > > I was hoping I would be able to control the location of the temp > directory > > somehow, in a way that didnt require me putting in a system request every > > time I set up a site. > > > > Cheers > > Mike Kear > > > > On Wed, Jan 11, 2012 at 10:43 PM, Raymond Camden < > [email protected]>wrote: > > > >> > >> I'd ask your host to give you a folder that is NOT web accessible. > >> > >> On Wed, Jan 11, 2012 at 4:35 AM, Mike Kear <[email protected]> > wrote: > >> > > >> > In my shared hosting sites, I often come up against a problem with > >> > uploading files using image uploaders, because the sysadmin locks down > >> > access to the temporary directory. Is there any way to set the > >> temporary > >> > directory in my code so I can have temp files in my own hosting space, > >> > which I have full access to? > >> > > >> > -- > >> > Cheers > >> > Mike Kear > >> > Windsor, NSW, Australia > >> > Adobe Certified Advanced ColdFusion Developer > >> > AFP Webworks > >> > http://afpwebworks.com > >> > ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month > >> > > >> > > >> > > >> > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349406 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

