Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Move files from one server to another

New Here ,
Aug 06, 2009 Aug 06, 2009

<cfset spath = "\\ght4\clients\abc\new\256\">
<cfset dpath ="\\ffg\clients\def\new\kij">

<cffile action = "move" source = "#spath#" destination = "#dpath#">

It generating an error Is there a way to move files from server to another in coldfusion

728
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 06, 2009 Aug 06, 2009

First, you need permission on both servers, but let's assume you have that.

Next, you need correct code and appears that you do not.  Your spath variable looks more like a directory than a file and cffile only works on files.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 06, 2009 Aug 06, 2009

How could I find out that I do have the this permissions which u r taking about?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Aug 06, 2009 Aug 06, 2009
LATEST

You talk to your network administrator(s) and ask them what permissions have been assigned to the user that the ColdFusion service|demeon is running as.

P.S.  By default, on a windows machine, ColdFusion runs as a "localSystem" user, which usually has *no* permissions to other systems.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources