problems according to console-mode

Advertisement

Brbel Brummel
Guest

problems according to console-mode

Dear Support-Team,

I'm using the following batch.cmd
D:\Programme\0-tools\WinSCP\WinSCP3\winscp3.exe /console sftp://root@xxx:xxx /script=D:\Programme\0-tools\WinSCP\WinSCP3\down\download.txt /privatekey=D:\Programme\0-tools\Putty\key\id_dsa_prv.ppk
exit

This code worked fine with release 3.8.1.
Just after I updated WinSCP to 3.8.2 the script doesn't work.

The windows of winscp pops up correctly, but after the passphrase of my key-file doesn't start the script (download.txt)...

Screenshot (<invalid hyperlink removed by admin>)

If you need more input, just say...


Greetings,
Brbel Brummel

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,542
Location:
Prague, Czechia

Re: problems according to console-mode

You cannot specify both protocol (sftp) and /script parameters on command-line simultaneously anymore. It's for security reasons. As sftp is default protocol, you can just remove the "sftp://" prefix.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum