command-line utility/scripting authentication error



command-line utility/scripting authentication error

I have been using the command-line utility for a couple of years without issue.
My client uploads a small text file to their web server repeatedly, all day long.
We use a batch + script file.

Recently their hosting service changed the format of their usernames.
The format is now "".
This is the username. Followed by the regular password.

The command-line executable no longer functions in this mode.
Instead of connecting and uploading the text file it should, it sits at an authentication prompt for a few seconds before disappearing, and fails.

Here is the Open command I am using:
open s -hostkey="ssh-rsa 1024 <the rest of my hostkey>"

Here is the action I want to take:
put -preservetime c:\mypath\test.txt /

I am able to use the command-line utility to login manually from the prompt, it just doesn't seem to like it in a batch file with script.

Figuring a WinSCP update might resolve the problem, we are now using the 5.24 beta.
In the Windows version, "Keep remote Directory Up to Date" is what I use to do what I want, but it gets interrupted several times per day.
We need it to run unattended reliably and the command-line more or less did that.

Any help is much appreciated.

Reply with quote


You can post new topics in this forum