TCP/IP File Transfer Via Winsock

Category:
Network/Internet
Type:
Applications
Difficulty:
Intermediate
Author:
Sandro Folco

Version Compatibility: Visual Basic 6

More information:
This demostrates how to transfer files using the Winsock Ocx Control like TFTP (Trivial File Transfer Protocol). There are two programs: a client and a server. For testing purposes, they are set up to run on the same machine. To make it work across the Internet or an an Intranet, you just need to modify the connect call within the client application.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download tftpsample.zip