What does "end"? Do I understand right that you run (relatively) short WinSCP script every 15 minutes. And after 5 hours, WinSCP does not start anymore?
- That is correct. The call for WINSCP.exe (or.com) is silent and script just continues
What do you mean by "no SFTP log"? That FTP-Download[%1].LOG is not created at all, or that there's no SFTP activity in the created log?
- correct, no activity in the log at all. Empty.
We have another system/server with similar configuration and it runs ok there.
This is the log from the BMC agent that triggers the script. We have created another version of script that runs directory listing on Winscp folder, followed by call to wincp.com /?. We left Echo on.
:: D:\APPS\WINSCP\WINSCP.COM /script=%App%-WinSCP.SCRIPT /log=FTP-Download[%1].LOG
This is the actual log from this agent:
Volume in drive D is Data
Volume Serial Number is 2EB4-D706
Directory of D:\APPS\WINSCP
2018-02-01 12:38 PM <DIR> .
2018-02-01 12:38 PM <DIR> ..
2016-09-19 01:52 PM <DIR> backup
2016-07-22 09:56 AM 484,136 DragExt64.dll
2018-02-01 12:38 PM <DIR> Extensions
2017-03-10 09:55 AM 37,854 license.txt
2018-02-01 12:38 PM <DIR> PuTTY
2018-02-01 12:38 PM 137,816 unins000.dat
2018-02-01 12:37 PM 1,277,728 unins000.exe
2018-02-01 12:38 PM 22,727 unins000.msg
2017-04-19 02:44 PM 282,960 WinSCP.com
2017-04-19 02:44 PM 18,905,808 WinSCP.exe
2018-02-01 12:38 PM 101,747 WinSCP.ini
2017-11-03 08:24 AM 17,911 WinSCP.ini.bad
2017-04-19 02:44 PM 10,516,883 WinSCP.map
2017-04-19 02:44 PM 151,424 WinSCPnet.dll
11 File(s) 31,936,994 bytes
5 Dir(s) 95,883,128,832 bytes free
The BMC says the command is triggered but not giving anything back. If we run winscp.com /? in command line with the same user we have results.
Can we try debug version of winscp that would help us to understand what is actually happening when it's called?
Reply with quote