> I have a webpage that list everything in a particular folder, see code... > > <cfdirectory action="LIST" name="qCurrent" > directory="d:\saprepository\current" sort="datelastmodified desc"> > > I want to change the directory to be another server. The CF Docs show this > but it's not working...I don't get any results using the absolute addressing. > > <cfdirectory directory="//12.3.123.123/c_drive/" name="dirQuery" > action="LIST">
By default, CF runs as SYSTEM, which can't access network resources. To do this, you'd need to run CF as a user which has permission to access the remote share. Also, UNC paths use backslashes, not forward slashes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315845 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4