โ† Directi questions

Client-Server File Transfer with Dynamic Updates

Filed under Directi

The question

Implement a client-server program using TCP to transfer a text file. The client must handle dynamic file changes (deletions or appends) in real-time, stopping transmission if the file is deleted and sending remaining data if more is appended. A bonus requirement is to print the total bytes sent upon receiving a SIGINT (Ctrl+C).

No write-up yet. Related questions below have one.

Related Directi questions

Collected from public candidate posts and coding forums. Updated Nov 2026.