Timeout waiting for external console to complete the command
Hi,
I'm getting following error while running from the batch script.
Timeout waiting for external console to complete the command. External console output is redirected to a pipe. Make sure the pipe is being read from.
Following is the batch script:
@ECHO OFF
mode 80,5000
title IndusInd file transfer utility
echo File tranfer utility IndusInd bank -version 1.0 -Gaurav Dutt
color 79
:loop
echo Copying...
echo echo off
echo option batch abort > ftp_uat.tmp
echo option confirm off >> ftp_uat.tmp
echo open orauat -rawsettings SendBuf=0 >> ftp_uat.tmp
echo call sh /apps_Prod/compare.sh >> ftp_uat.tmp
rem echo cd /orahome/db/PROD/db/tech_st/11.1.0/appsutil/outbound/CLONE_oraerptest >> ftp_uat.tmp
rem echo lcd C:\ERPIConfig\CSS\SOAPSender_mid >> ftp_uat.tmp
echo echo on >> ftp_uat.tmp
echo get -transfer=binary -preservetime -resumesupport=on -delete /home/orauat/utility/test/*.* C:\ERPIConfig\CSS\SOAPSender_mid\ >> ftp_uat.tmp
echo echo removing files.... >> ftp_uat.tmp
echo rm /orahome/db/PROD/db/tech_st/11.1.0/appsutil/outbound/CLONE_oraerptest/* >> ftp_uat.tmp
echo exit >> ftp_uat.tmp
"C:\Program Files\WinSCP\WinSCP.com" /script=ftp_uat.tmp
ping -n 10 127.0.0.1 > nul
DEL ftp_uat.tmp
goto loop
I'm getting following error while running from the batch script.
Timeout waiting for external console to complete the command. External console output is redirected to a pipe. Make sure the pipe is being read from.
Following is the batch script:
@ECHO OFF
mode 80,5000
title IndusInd file transfer utility
echo File tranfer utility IndusInd bank -version 1.0 -Gaurav Dutt
color 79
:loop
echo Copying...
echo echo off
echo option batch abort > ftp_uat.tmp
echo option confirm off >> ftp_uat.tmp
echo open orauat -rawsettings SendBuf=0 >> ftp_uat.tmp
echo call sh /apps_Prod/compare.sh >> ftp_uat.tmp
rem echo cd /orahome/db/PROD/db/tech_st/11.1.0/appsutil/outbound/CLONE_oraerptest >> ftp_uat.tmp
rem echo lcd C:\ERPIConfig\CSS\SOAPSender_mid >> ftp_uat.tmp
echo echo on >> ftp_uat.tmp
echo get -transfer=binary -preservetime -resumesupport=on -delete /home/orauat/utility/test/*.* C:\ERPIConfig\CSS\SOAPSender_mid\ >> ftp_uat.tmp
echo echo removing files.... >> ftp_uat.tmp
echo rm /orahome/db/PROD/db/tech_st/11.1.0/appsutil/outbound/CLONE_oraerptest/* >> ftp_uat.tmp
echo exit >> ftp_uat.tmp
"C:\Program Files\WinSCP\WinSCP.com" /script=ftp_uat.tmp
ping -n 10 127.0.0.1 > nul
DEL ftp_uat.tmp
goto loop