1

我正在使用 ColdFusion 8。

我正在尝试在网络路径 Windows 上编写文件。

// THIS WORKS
CatalogDirectory = getDirectoryFromPath("E:\INETPUB\WWWROOT\AVCATALOGS\AVCAT\");

// THIS DOES NOT WORK
CatalogDirectory = getDirectoryFromPath("\\ourserver\e$\InetPub\wwwroot\AVCATALOGS\"); 

我找不到任何关于你不能做什么的好文档。

// TOO VAGUE
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=functions_e-g_36.html

有没有办法将文件从一台服务器写入网络驱动器上的另一台服务器?

4

1 回答 1

4

您必须以网络用户身份运行 ColdFusion,并且该用户必须有权访问您要连接的服务器。

于 2012-08-01T16:43:43.667 回答