This project is about developing basic cloud storage and file sharing mechanisms based on the FTP protocol.
- Allow a single user to operate on files on a remote network simultaneously: upload, download, list, delete, etc.
- Let multiple users share files via a shared folder.
- Every peer in the network should remain consistent, and have it’s own copy of the shared directory.
- It should run on any machine with Linux and Python3. (The use of Odroid devices is just an example)
- Keep it as simple as possible.
In this project we have developed and implemented a protocol that achieves the listed goals above.
This protocol is heavily based upon the already existing FTP protocol, so knowledge of the former is essential.
Information about the Cloudroid protocol can be found here:
Information about the basic FTP protocol can be found here:
The full code is in the project’s github:
To set up a network of multiple peers, one must have multiple machines running the server program, and a list of their addresses.
We have created a full guide for setting up servers:
The following video example shows:
- Running a server that has 2 other peers(they are written in its peers list).
- Connecting to the network as a client, via telnet.
- Listing all files in the shared directory.
- Creating and storing a file named helloRBDLAB.txt in the network.
- Retrieving a file named helloRBDLAB.txt from the network.
Note that the action of storing a file in the network, creates copies of it in every other peer machine as well.
Issues + Future development
The Cloudroid protocol was developed from scratch, and it has some issues that need to be taken care of.
We have listed the biggest issues that concerned us, and optional solutions for them:
- Oren Efraimov – email@example.com
- Nathan Wallheimer – firstname.lastname@example.org