Remote filesystem watcher. this service provide ability to watch remote paths on configured server and clone these changes into local client.
Serverthis type of configuration provides a watcher over given path, and accept connection from configured clients.Clientprovice atcpconnection into configured server, and over change notifications download given changes from server and create local changes.
| option | description | default |
|---|---|---|
| -c,-config | specify configuration file for service | config.yml |
here is the server configuration file example:
type: server
address: localhost:9901
path: /path/to/the/file/or/directory/you/want/to/watch
server:
# optional
tls:
key: /path/to/private/key
cert: /path/to/certificate
# optional
pwfile: /path/to/password-fileto add/remove user, you should first set the pwfile in server config and run these commands:
# add user
rfswatcher -create-user
# delete user
rfswatcher -delete-userhere is the server configuration file example:
type: client
address: <server-address>
path: /path/you/want/to/save/files
client:
# optional
username: username
password: password
# optional
tls: trueFollowing issues resists in developed service and need to fixed.
Unsecure connection.Session management with clients.- Improve file transfer size.
- List files on first connection into server.
- Ignore duplicated events in client.