sftp

winscp sync sftp

Метки: sftp, sync, winscp

C:\Users\administrator>C:\winscp\WinSCP.com /privatekey=c:\winscp\priv.ppk /script=c:\winscp\sync01.txt

option batch on
option confirm off
open sftp://backup-sftp-01@10.0.0.17
synchronize remote -delete c:\files /home/backup-sftp-01/zed
close
exit

synchronize both
synchronize remote -delete d:\www /home/martin/public_html
synchronize both -filemask="|*.bak; *.tmp"

материал тут:

http://winscp.net/eng/docs/scriptcommand_synchronize

Вход в систему
Image CAPTCHA
Enter the characters shown in the image.