My script does have an exit command and it does NOT appear to leave an instance running after each time the script fires. It runs every 60 seconds and leaves about 4 of them running a day.
I have updated WinSCP to the latest version at the time of this post which is 5.17.3. The only way I have been able to clean this up is to add a "taskkill /F /IM WinSCP.exe" to then end of the bat file that executes the script. Anyone know what may be going on? Thanks for your help.
Below is an example of the WinSCP script.
option batch continue option confirm off open Connection cd /Outbound lcd D:\Downloaded get -delete *.txt cd /Inbound lcd D:\Upload put -nopermissions -nopreservetime -delete *.txt close exit