Send and receive files through the internet!
- Download the latest .dll from https://github.com/NahroTo/SharpFileTransferrer/releases
- In Visual studio, go to References right click and select add reference
- Press the browse button and select the dll file you just downloaded
// CLIENT side code
// send one file..
SharpClient.SendFile(192.168.178.16, 49181, @"C:\potatoes\banana.txt");
// or more than one file
string[] files = {"C:\potatoes\banana.txt",
@"C:\chickens\cow.txt",
@"C:\banana.jpg"};
SharpClient.SendFiles(192.168.178.16, 49181, files);
// SERVER side code
SharpServer.ReceiveFiles(49181, @"C:\destinationfolder");