CFEXECUTE

This is a discussion on CFEXECUTE within the Cold Fusion forums in Application Servers & Tools category; 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 ...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-05-2008, 03:08 PM
jfs123
Guest
 
Default CFEXECUTE

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

Reply With Quote
  #2  
Old 09-06-2008, 02:32 AM
BKBK
Guest
 
Default Re: CFEXECUTE

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.



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:10 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.