可以将文件从一台服务器复制到另一台服务器吗?

时间:2012-08-01 16:27:03

标签: coldfusion coldfusion-8

我正在使用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

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

1 个答案:

答案 0 :(得分:4)

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

相关问题