Winscp not executed in Automation script
Winscp ver 5.9 (build 6786)
OS Win 2012 R2 STD
The Winscp.exe is used in the automation/scripted option, being called from batch (script.cmd)
Connecting to predefined session for SFTP
The line in the script:
D:\APPS\WINSCP\WINSCP.EXE /CONSOLE /script=%App%-WinSCP.SCRIPT /log=FTP-Download[%1].LOG
After executing every 15 minutes for about 5 hours, the Winscp ends without trace. No record in the event logs, no SFTP log in the master log file (FTP-Download[%1].LOG). The script is executed via BMC automate Control-m agent. If we run the script manually in logged in session, it runs ok under the same UID. If scheduled in OS local scheduler on the same server with the same user ID, it runs ok. Seems specific interaction WINSCP and BMC Control-M agent. The issue started about 1 week after OS patch installation for January 2018. Similar issue experienced in May 2017 but fixed by applying all latest software versions (BMC and Winscp).
Can we possibly use debug version of Winscp if this can provide any lead to this problem?
Thanks,
Ivan
OS Win 2012 R2 STD
The Winscp.exe is used in the automation/scripted option, being called from batch (script.cmd)
Connecting to predefined session for SFTP
The line in the script:
D:\APPS\WINSCP\WINSCP.EXE /CONSOLE /script=%App%-WinSCP.SCRIPT /log=FTP-Download[%1].LOG
After executing every 15 minutes for about 5 hours, the Winscp ends without trace. No record in the event logs, no SFTP log in the master log file (FTP-Download[%1].LOG). The script is executed via BMC automate Control-m agent. If we run the script manually in logged in session, it runs ok under the same UID. If scheduled in OS local scheduler on the same server with the same user ID, it runs ok. Seems specific interaction WINSCP and BMC Control-M agent. The issue started about 1 week after OS patch installation for January 2018. Similar issue experienced in May 2017 but fixed by applying all latest software versions (BMC and Winscp).
Can we possibly use debug version of Winscp if this can provide any lead to this problem?
Thanks,
Ivan