you could do something like this...
<cfdirectory directory="#expandPath("[virtual directory]")#"....
+-----------------------------------------------+
Bryan Love
Database Analyst
Macromedia Certified Professional
Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+
"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis
"Let's Roll"
- Todd Beamer, Flight 93
-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:31 PM
To: CF-Talk
Subject: RE: cfdirectory
Yes, I created it in IIS.. Guess that explains it.
Thanks
-----Original Message-----
From: Bryan Love [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:14 PM
To: CF-Talk
Subject: RE: cfdirectory
cfdirectory uses the OS's file system - it does not go through the web
server. I'm guessing since you said "virtual directory" that you created it
in ... IIS? Well it only exists in IIS so when cfdirectory looks to the
OS's file system it won't be there.
+-----------------------------------------------+
Bryan Love
Database Analyst
Macromedia Certified Professional
Internet Application Developer
TeleCommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+
"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
- Thomas Paine, The American Crisis
"Let's Roll"
- Todd Beamer, Flight 93
-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 1:43 PM
To: CF-Talk
Subject: cfdirectory
Hello All,
I have a virtual directed created and I'm trying to access it using
cfdirectory. I'm calling it like this: directory="\\servername\directory\
<file://\\servername\directory\> " . Nothing is getting returned,
Permission on this account is ready only. Any ideas?
Thanks,
Tim
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4