I need to execute on a daily base a lot of file transfert from a server to a local machine. So i create first a session to connect the server and i saved it as a stored session.
My second operation was to include this in a ".BAT" file in order to start it in batch mode, i made a script file to pass the instruction to the WINSCP module, until now it works fine when started manually in dos prompt windows :D .
Unfortunatly, when using the Windows task scheduler to manage the startup of the ".BAT", the called session failed :( when trying to connect the server (message in the log : Host does not exist).
Why is this possible? The .BAT and the script files are fine.
Is it any issue using WINSCP within the task scheduler? :?:
Thank you for attention.