Skip to content

Jamalianpour/EasyFileTransfer

Repository files navigation

Easy File Transfer

An easy way to transfer file with any size on network with tcp protocol.

usage

  1. install nuget package: Nuget
	Install-Package EasyFileTransfer -Version 0.1.5
  1. import the EasyFileTransfer library:
using EasyFileTransfer;
  1. for server at first you should start the EftServer:
EftServer server = new EftServer(saveTo, port);
System.Threading.Thread thread = new System.Threading.Thread(server.StartServer);
thread.Start();
  1. for client you can send file with this line:
EftClient.Send(Path/to/file, serverIP, serverPort);

it's finished. you can enjoy that. don't forget star this repository. :)

Screenshots

sample screenshots like this:

Server Client