cfdirectory to other servers
My eventual goal is to access a file on a sharepoint server, but for now I want to access one on the same server on which coldfusion is running. If I do this,
PathToFile = "d:\shared_folder_name\actual_folder_name\";
</cfscript>
<cfdirectory directory="#pathtofile#" name="x">
<cfdump var="#x#" metainfo="no" abort>
I can see the contents of folder. When I look at the permissions on that folder I see that ColdFusion has read, write, list directory contents, and execute. However, all my attempts to see the contents using unc syntax result in an empty query. These attempts include:
\\server_name\shared_folder_name\actual_folder_name\
\\server_name\actual_folder_name\
plus some attempts that included the drive, with and without a colon.
What am I doing wrong?
