Multipart Downloader

Aryan Aryan Follow Jan 18, 2020 · 1 min read
Multipart Downloader
Share this

MultiPart Downloader

Today we want to introduce a sample socket proramming project which serves a file in server, and client can ask server to chunk the files and serve each part separately.

View Project

How does it work?

  1. Run server and provide a file path to it. Now server serves the file for any client who request it, asynchronously.
  2. Run as many as clients you want. Each client should ask server how many parts it want, and at every stage provide a partition (chunk) number to server.
  3. When you download all the parts, client automatically merges the parts and dinner is served!



Build and Run

First clone the repo

git clone

Then use dotnet cli commands

cd server
dotnet build
dotnet run

cd ..\client
dotnet build
dotnet run


Join Newsletter
Get the latest news right in your inbox. We never spam!
Written by Aryan View Bio Follow
Hi, I am Aryan, a technology enthusiast!