1. Purpose
The work consists of developing a text file server and a
Application Programming (API) that facilitates the implementation of applications that take advantage of
this file server. The server must allow access in a concurrent and
distributed to your files. Through the API it should be possible to:
• request the list of files contained in a single shared folder,
• know the size of a file,
• create a file,
• delete a file,
• request or release a file for consultation,
• retrieve the contents of a file for consultation (it
Query),
• request or release a file for editing,
• retrieve the contents of a file for editing (it implies holding the edit padlock),
• Receive notifications about creating, deleting, and changing a file.
You should also implement an application that allows you to view the file structure of the
server. This application should allow users to consult and
files. In the client application, the contents of the files should only be sent by the server when
the user wants to view or change the contents of the file.