Topic "Scripted Transfer Requiring scp"

Author Message
akreitman
[View user's profile]

Joined: 2011-08-07
Posts: 1
I need to start winscp in scp mode for a batch transfer The server I'm connecting to only supports scp, and the automatic fallback doesn't seem to work.

When I incant "winscp scp://user:password@ipaddr /command "put src dst", it says automatic actions are disabled for command line url addresses.

When my script file says
"open scp://user:password@ipaddr"
it responds "searching for host, host doesn't exist" and gives me a prompt. If I enter "open scp://user:password@ipaddr" at the prompt, it connects.

Is this a bug, how do I change the default protocol to scp?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You should do:
winscp /script=script.txt

Where script.txt is:

Code:
open scp://user:password@ipaddr
put src dst


I understood that you have tried this already. But give it one more chance anyway Smile
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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