Rookie mistake? WinSCP uploads when running a .bat manually but fails through task scheduler

Advertisement

Bourzti
Guest

Rookie mistake? WinSCP uploads when running a .bat manually but fails through task scheduler

Hi All,

I am new to WinSCP and scripting so please be kind :shock:

When running a .bat manually WinSCP loads the required files from our server to a customers server, however when running through Task Scheduler fails with the error message as below.

The customer now requires this to be running so a solution to this will be greatly appreciated.

Thanks

. 2017-04-27 16:44:33.125 Offered public key
. 2017-04-27 16:44:33.156 Offer of public key accepted
! 2017-04-27 16:44:33.156 Authenticating with public key "rsa-key-XXXXXXXX"
. 2017-04-27 16:44:33.156 Prompt (3, SSH key passphrase, , Passphrase for key "rsa-key-XXXXXXXX": )
. 2017-04-27 16:44:33.156 Disconnected: Unable to authenticate

WinSCP Version 5.5.6 (Build 4746) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Standard)

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum