Topic "Problem running simple get under Windows Scheduler"

Author Message
cheneydd
[View user's profile]
Donor
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.

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26572
Location: Prague, Czechia
The correct solution is to use the command that WinSCP suggests itself:
Quote:
In scripting you should not rely on saved sites, use this command instead:
open sftp://<username>:<password>@www.uhin3.net/ -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.
Advertisements

You can post new topics in this forum






Search

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License