Hello !
Can you please help me to do this program :
get the last modified time of a file on clientA
send a sync_message request to the serverA containing the filename, last modified time.
read a sync_message response from the server containing filename, the server's last modified time for the file on the server.
if the last modified time in the message from the serverA is more recent that the local last modified time
the clientA will read the file from the server one CHUNKSIZE chunk at a time and will replace the local file with the contents from the serverA.
otherwise, the client will send the local file one CHUNKSIZE chunk at a time and will replace the file in the serverA by the client file.
Thank you in advance
Best Regards,
Melissa.