1 Reply Latest reply on Sep 5, 2008 11:32 PM by BKBK

    CFEXECUTE

    jfs123
      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
        • 1. Re: CFEXECUTE
          BKBK Adobe Community Professional & MVP
          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.