Skip to main content
Participant
September 5, 2008
Question

CFEXECUTE

  • September 5, 2008
  • 1 reply
  • 429 views
I am trying to execute a secure copy scp within a CFEXECUTE:
<CFEXECUTE NAME="D:\test\scp"
ARGUMENTS=" -pw mypass D:\test\myfile myusrname@remoteIP:remotefilename"
OUTPUTFILE="D:\test\myout.txt">

This is running Windows 2000 professional and CF 5.

I can run the scp program from a COMMAND Window fine. It puts the authentication in the Windows Registry the first time, and never asks again. For some reason when I call a CF template with the above code, it does not look in the Registry, but always tries to confirm the legitimacy of the remote computer. It hangs as a result.

I am ultimately trying to push files from the server, that have been selected by a browser, to trusted remote computers using a secure protocol.

Any help would sure be appreciated!

Joel
This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
September 6, 2008
I can run the scp program from a COMMAND Window fine.

The process is then running on your machine, within your security context.

...when I call a CF template with the above code...

Then the process will start running on a remote computer, hence the remote computer's need for authentication.

Couldn't you use the cfcontent tag? It's much simpler for a start.