Simple File Transfer using .Net

PlausiblyDamp

Administrator
Joined
Sep 4, 2002
Messages
6,155
Location
Lancashire, UK
User Rank
*Expert*
A simple example of how you can use classes under System.IO, System.Net and System.Threading to implement a client server file transfer application.

The server will allow you to configure the port it listens on and where received files are saved. It listens for incomming connections on a dedicated thread and will spawn 1 thread per incomming request.

The client allows you to specify the servers IP and port and also select the file to transfer.

Probably needs a lot more testing than its received but can happily transfer 3 80M+ mpegs at the same time.

Thanks also go to dynamic_sysop as Ive stolen code from his sample found here
 

Attachments

Similar threads

P
Replies
0
Views
176
Policy standard local admin account with Active Di
P
M
Replies
0
Views
165
march_happy
M
S
Replies
0
Views
88
Specter FXX-K
S
Back
Top