客户端(后台)和服务端(前台)都需要安装cwRsyncServer_4.0.4_Installer程序
1.只有服务端需要配置ICM下的rsyncd.conf文件内容
uid = 0 #不指定uid,不加这一行无法使用任何账户
gid = 0 #不指定gid
use chroot = false #不使用chroot
strict modes = false #使用静态模式
hosts allow = * #允许所有连接
log file = rsyncd.log #日志记录文件
pid file = rsyncd.pid #日志记录文件
port = 52326 #cwrsync使用的端口号
ignore errors
Module definitions
Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
[taosfweb] #接收模块
path = /cygdrive/d/html/uc97 #接受位置
read only = false
lock file = rsyncd.lock
2.服务端需要开启对应的端口号,且只对客户端一方开放(安全性)
3.服务端开启cwRsyncServer服务
4.客户端写脚本进行数据传输保存在系统盘中为rsynctodb.bat
@echo off #启动cmd
cd \