This section concentrates on how the communication is carried in between different modules of the project. Initially, the communication between client and server is carried using the protocol designed. The protocol comprises of different messages to be exchanged between client and server. Whenever the client recovers from the crash the client is prompted with -recover option and sends REQ_RECOVER message to the server. On receiving the message the Server read its directory contents and sends each file to the client. If client is not recovered from crash and has existing files the client can send REQ_DIRINFO to server requesting for filename and modified access time of each files. Upon receiving the response from the server the client creates a UPLOAD_LIST, MODIFICATION_LIST and REMOVE_LIST.
Work Flow