Topic "Problem running simple get under Windows Scheduler"

Author Message
[View user's profile]
Joined: 2017-02-11
Posts: 1
I am having trouble running a WinSCP script under Windows Scheduler. This script has worked well on other clients running the same operating system on their network server. I read the self help and think creating a separate INI file would be the way to go. I would like a confirmation of this or a point in the right direction. I am concerned the client is getting impatient and I have very limited access to their server.

Description of the problem and what copy of the log I could get is attached.
Thanks for any ideas.
Gold Prob with winscp.txt (19 KB) [Download]

Description: (none)

Gold Prob with winscp.txt (19 KB) [Download]

Description: Copy of script, explanation of results, and copy of log.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
The correct solution is to use the command that WinSCP suggests itself:
In scripting you should not rely on saved sites, use this command instead:
open sftp://<username>:<password> -hostkey="ssh-rsa 2048 e2:d5:e7:0b:68:f0:36:cb:7e:04:bc:0f:63:bd:9b:11"

Though using the INI file would help too.

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