Skip to main content
July 8, 2008
Answered

cffile with UNC Path

  • July 8, 2008
  • 1 reply
  • 996 views
I need to move a file from one server to another over a network using the UNC Path. Is this possible with cffile? Ftp is not available.
ColdFusion 7.1
Windows server 2003

Thanks
Fred
This topic has been closed for replies.
Correct answer Newsgroup_User
timeToPlay wrote:
> I need to move a file from one server to another over a network using the UNC Path. Is this possible with cffile? Ftp is not available.
> ColdFusion 7.1
> Windows server 2003
>
> Thanks
> Fred


Yes, but the ColdFusion 'Service' in the Windows Services Panel needs to
be configured to run under a domain user with the required permissions
to the remote server. Rather then the default 'LocalSystem' user that
normally has *no* network rights.

Then <cffile file="\\remoteServer\directory\file.ext" ...> works just fine.

1 reply

Newsgroup_UserCorrect answer
Inspiring
July 8, 2008
timeToPlay wrote:
> I need to move a file from one server to another over a network using the UNC Path. Is this possible with cffile? Ftp is not available.
> ColdFusion 7.1
> Windows server 2003
>
> Thanks
> Fred


Yes, but the ColdFusion 'Service' in the Windows Services Panel needs to
be configured to run under a domain user with the required permissions
to the remote server. Rather then the default 'LocalSystem' user that
normally has *no* network rights.

Then <cffile file="\\remoteServer\directory\file.ext" ...> works just fine.

July 8, 2008
Thanks Ian
My network person wonders if you would know what the default local rights are for the ColdFusion Service. Presumably these will also have to be reset for the domain user account.

Thanks
Tim