1/ not 100% sure, but I have used it in the past with success (couple of years ago) on the same hosting servers 2/ I've set them to 777 3/ example path returned from the error message:
'/usr/local/psa/home/vhosts/mysite.com/httpdocs/backend/portfolio/newfolder' On 9/5/05, Jerry Johnson <[EMAIL PROTECTED]> wrote: > > First question - are you sure cfdirectory is enabled on your host? > Second question - are you sure that the CF user has directory create > rights in that folder? > Third question - are you sure all the characters in the path are valid > for unix filesystem paths? > > > On 9/5/05, Bram Plessers <[EMAIL PROTECTED]> wrote: > > I will do that ;) > > > > I don't really have a choice, it's for some personal websites ... > > But yes, it can be a pain to port sometimes. > > > > On 9/5/05, Ryan Guill <[EMAIL PROTECTED]> wrote: > > > > > > Its a really bad idea to develop on windows to host on unix. The file > > > systems are quite different and is most likely your problem. > > > > > > But try using the expandPath() function. > > > > > > > http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm > > > > > > And check the livedocs to see if there is any *nix specific stuff you > > > need to do: > > > > > > > http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm > > > > > > On 9/5/05, Bram Plessers <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > I'm trying to make use of cfdirectory. > > > > This is the error I get: > > > > > > > > The most likely cause of this error is that the > > > > '/usr/local/psa/home/vhosts/****/httpdocs/backend/portfolio/qsdfqsd' > > > already > > > > exists on your file system. The exception occurred during a > cfdirectory > > > > action="create". > > > > ------------------------------ > > > > The specified Directory attribute value > > > > /usr/local/psa/home/vhosts/****/httpdocs/backend/portfolio/qsdfqsd > could > > > not > > > > be created. > > > > > > > > I developed the code on a windows machine, where everything worked. > > > > Now I'm on my hosting server (Unix), but some things fail ... > > > > > > > > > > > > <cfset directoryName=LCase(replace(form.title,Chr(32),"", "all"))> > > > > <cfif directoryName neq "" > > > > > <cfdirectory action="create" > > > > directory='#Application.webroot#portfolio/#directoryName#' > > > > mode="777"> > > > > <cfif > DirectoryExists("#Application.webroot#portfolio\#directoryName#")> > > > > ............ etc > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217379 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

