WINSCP called by Tasks scheduler in Windows

Advertisement

Alain Her
Guest

WINSCP called by Tasks scheduler in Windows

Hi all,
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.
Alain

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,286
Location:
Prague, Czechia

Re: WINSCP called by Tasks scheduler in Windows

I have added an answer to F.A.Q.. Let me know if it helps you.
_________________
Martin Prikryl

Reply with quote

Alain Her
Guest

Re: WINSCP called by Tasks scheduler in Windows

martin wrote:

I have added an answer to F.A.Q.. Let me know if it helps you.
:D I used another account and it works fine now.
I still need to investigate a little bit in order to use .INI file in place of registry entries. Thanks for your help.
Alain

Reply with quote

Advertisement

You can post new topics in this forum