4.0 TCP file transfer application, in C# and VB.NET
TCP (the Transmission control protocol) is used in the
majority of data transfers over the Internet, and forms the basis of many other
This C# (and VB.NET) application can be used to transfer
files from one PC to another over the Internet.
To use this utility, Open the server application on one
computer, and note the IP address displayed. Open the client application on a
different computer, and enter in the servers’ IP address into the box provided.
Press the browse (…) button to select a file. Press Send, and that file should
be copied remotely into a file called c:\my documents\upload.txt
on the server. (you should ensure that the folder c:\my documents previously
(Source code availabile in the book Network Programming in .NET
(Buy at Amazon UK)
(Buy at Amazon US)
, Chapter 3,
Example 3 & 4)