Back to All CourseworkDistributed Computing System
Pair Project with Tejas D. ShindeJan – Feb 2025Interactive Web Demo

Multi-threaded FTP Client & Server

A Java client and threaded server implementing a custom FTP protocol over TCP sockets with stateful working directory management.

My Contribution: We co-authored the threaded connection handler, stream protocol parser, and virtual file operations.
JavaJavaTCP SocketsMultithreadingI/O
Live Browser Simulation

Protocol Session & Command Trace

Client-Side Engine
Try this: Step through connection handshake and stream transfers.

Loading simulation engine...

Architecture verification: Faithful recreation of TCP protocol mechanics and socket session handling.

Implementation Highlights

  • Concurrent client support via thread-per-connection pool with isolated session states.
  • Framed length-prefixed stream transfer protocol for unambiguous EOF detection.
  • Full command set: GET, PUT, LS, CD, MKDIR, PWD, and graceful QUIT.

Algorithm & System Mechanics

  • Sends byte-count headers prior to raw payload transfer on streaming TCP sockets.