I am running the following code:

<cfset File_Directory = ExpandPath("/download/")>
<cfset runpath="""D:\Additional Software\plink.exe""">

<cfset argslist= " -v -batch -ssh 12.144.48.30 -l user -pw pwd
/usr/local/bin/load-prod #uploadfile.serverfile#
#variables.sessionuid#" >
<cftry>
<cfexecute name = "#runpath#"
   arguments = "#argslist#"
    outputfile="#file_directory#fcdc.out"
        timeout="2"
/>
    <cfcatch>
        <cfdump var="#cfcatch#">
        </cfcatch>
</cftry>

If I run it with no timeout, I get the display page but the execute
never runs.  If I put anything in the timeout parameter, the process
times out no matter what.  I have tried values from 1 - 200 for
timeouts with consistent results.

Does anyone know the magic trick to making this work?

Thanks
--S
  ^
-- 

Stephen Leacock  - "I detest life-insurance agents: they always argue
that I shall some day die, which is not so." -
http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to