Topic "winscp for synchronize"

Author Message
win

Guest


hello

i have tested the winscp for synchronization. now i have more problems, that i cant find in the documentation.

1. i would like to connect via cmd to my server. now i prefer a private/public key. i dont want to write my passwort anywhere. when i connect normally with the GUI, winscp connect with the private/public key correctly without type a passwort. When i try with cmd it cannot connect with the keys. (Keyboard interactive)
I give my private key with the option /privatekey=mykey.ppk in the command. Is this correct?

2. I want to synchronize a directory. For example the C:\
Can i make some excludes? (When i dont want to copy the directory WINNT and Programs)

3. Is there anywhere an example script for synchronisation with windows schedule? (I would use the ini File for configuration and windows schedule to synchronize the specified pathes (includes) - i think this is in my script) or can i make include- and exclude-configuration files for synchronizing?

Thanks for your response...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
win wrote:
1. i would like to connect via cmd to my server. now i prefer a private/public key. i dont want to write my passwort anywhere. when i connect normally with the GUI, winscp connect with the private/public key correctly without type a passwort. When i try with cmd it cannot connect with the keys. (Keyboard interactive)
I give my private key with the option /privatekey=mykey.ppk in the command. Is this correct?

That's one way. The other is to preconfigure a stored session with the key.

Quote:
2. I want to synchronize a directory. For example the C:\
Can i make some excludes? (When i dont want to copy the directory WINNT and Programs)

option exclude <mask>. See "help option".

Quote:
3. Is there anywhere an example script for synchronisation with windows schedule?

Example for what?
_________________
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