cfdirectory on root

Hi!

Anyone know how i can create a directory from my application. The directory needs to be in my hshome directory.

atomi
Code:
<CFDIRECTORY
action = ?CREATE?
directory = ?d:\dirhome\uhome\udir\?
mode = ?UnixPermissionDescriptor?>

nevermind got it. :)
 
atomi said:
Hi!

Anyone know how i can create a directory from my application. The directory needs to be in my hshome directory.

atomi
Code:
<CFDIRECTORY
action = ?CREATE?
directory = ?d:\dirhome\uhome\udir\?
mode = ?UnixPermissionDescriptor?>

nevermind got it. :)

Glad you got it working... however, just a note:

For applications that I host on shared servers I tend to make use of the GetTemplatePath() and GetBasePath() functions. They can be used to take out hard-coding paths that can get folks in trouble.

Until Later!
Hatton
 
Good tips Hatton. I am reading up on this as I write this. It seems
GetBaseTemplatePath() would seem more appropriate in my case. Im adjusting my code accordingly. Thanks
 
Back
Top