Michael Gribbin wrote: > Hi gang, > > I'm trying to set up a file upload for the first time. I get this error: > > "Error attempting to save uploaded file to path > 'C:\WEB\somewebsite.com\images\newsreviewsimages\teaserimages..' Access is > denied. (error 5)"
There appears to be something wrong with the path. It shouldn't end in two dots. >>>>Apart from the proper permissions on that directory (Add) you >>>>will also need the following permissions on c:\winnt (or whatever >>>>the name of your systemroot is): >>>>IUSR_servername: Add >>>>Creator/Owner: Read, Write, Delete >>>> >>>>This is because during an upload CF writes a temp file there (and >>>>if somebody can explain to me how to change this so it writes to >>>>the tempdir I would be very happy). I wrote that. >>This seems a little odd. Can you verify with another explanation. I'm >>not really understanding what they're saying here. It has been my experience that without these settings file uploads don't work. Maybe it is my particular setup in which I switched the account under which CF runs, but that is the story. Nothing really to explain here, he should just try it to see if this fixes it, sounds like 2 minutes of work to me and (on a properly set up server) it shouldn't be a real security risk because execute access is denied (the usual if's and but's apply). Jochem ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists