martin wrote:
The prompt should cancel itself in 10 secs. Doesn't it? What version of WinSCP are you using?
Hi,
thanks for your answer, unfortunately it doesn't cancel itself, it stalles for hours.
I'm using WinSCP 4.2.7 (Build 758). I use WinSCP.com and don't use the /console switch of the .exe
Here's a part of log:
. 2010-07-21 07:00:01.430 Initialised AES-256 CBC server->client encryption
. 2010-07-21 07:00:01.430 Initialised HMAC-SHA1 server->client MAC algorithm
. 2010-07-21 07:00:01.648 Reading private key file "C:\SomeDummyDir\Dummy.ppk"
! 2010-07-21 07:00:01.648 Using username "Dummy".
. 2010-07-21 07:00:01.695 Offered public key
! 2010-07-21 07:00:01.758 Server refused our key
. 2010-07-21 07:00:01.758 Server refused public key
. 2010-07-21 07:00:01.820 Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password: )
I start Winscp.com out of the script with this command:
winscp.com /log=%SFTPLog% /command "option batch abort" "option transfer ascii" "open %SFTPUser%@%SFTPHost%" "get *.*" bye
Regards