top of page
Online Folder Backup
03/2015 - 04/2015 (Completed)
Online Folder Backup is distributed-system project implemented by Java.
Finished Individually.
The aim of this project is to allow users to syncronize files from one folder to another folder by defining IP addresses and port numbers of two folders.
Messages transferring between server and client are all encoded by JSON.
TCP/IP sockets are used to communicate between server and client.
With two jar files, users can delete, modify, add the files of FROM folder on client side, the relative changes will be made in TO folder on server side. Two jar files can be downloaded here.
To use these two jar files, you need execute them on terminal by:
java -jar syncserver.jar -f folder-path [-p port]
java -jar syncclient.jar -f folder-path -h hostname [-p port]
For example, if you want to backup from FROM folder on your desktop to TO folder on your desktop,
you can execute like:
$java -jar syncserver.jar -f /usr/YOURNAME/dekstop/TO/ [-p 4444]
$java -jar syncclient.jar -f /usr/YOURNAME/desktop/FROM/ -h localhost [-p 4444]
Demo video can be viewed below.
bottom of page