Topic "WINSCP called by Tasks scheduler in Windows"

Author Message
Alain Her


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 Very Happy .

Unfortunatly, when using the Windows task scheduler to manage the startup of the ".BAT", the called session failed Sad 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? Question

Thank you for attention.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27105
Location: Prague, Czechia
I have added an answer to F.A.Q.. Let me know if it helps you.
Martin Prikryl
Alain Her


martin wrote:
I have added an answer to F.A.Q.. Let me know if it helps you.

Very Happy 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.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License