Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

work around "denied access to cfdirectory"

Status
Not open for further replies.

ksea

Technical User
Dec 28, 2004
37
I've started with a new hosting company which doesn't allow access to cfdirectory. It's not that I have a problem with them turning it off but would like to know if anyone knows how to get around this in their scripting.

When I create a new page most of the information is stored in the DB but images and related files are stored in a directory which the same ID as the page... If this directory has not been created yet I need to create it but I'm running into the "denied access to cfdirectory" problem... It's not going to be a big problem but I was wondering if there was another way to do this.

<cfif NOT DirectoryExists("")>
<!--- create the necessary directories needed --->
<cfdirectory action="CREATE" directory="">
</cfif>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top