> <cfdirectory
> directory="z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">
>
> produces empty list
>
> <cfdirectory
> directory="\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\"
> action="list" name="dir_list">

There are two reasons why mapped drives don't work. The first is
permissions, and I think you've already got that problem sorted, since
the UNC path works. The second is that the mapping has to belong to
the domain user in question, and has to be persistent. Since SYSTEM
isn't a user, I suspect you can't really give it a drive mapping. So,
you'd have to run CF as another domain user who has permissions and a
persistent drive mapping.

All that said, I'd recommend you just use UNC paths - there's no
confusion about where they point, and they don't need any setup.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to