Anyone found any examples on a very simple TFTP server? I know it's connection done via UDP on port 69, but i cant seem to find anything about a TFTP server in VB6...gonna look up more on UDP and file transfer...any help appreciated!
Printable View
Anyone found any examples on a very simple TFTP server? I know it's connection done via UDP on port 69, but i cant seem to find anything about a TFTP server in VB6...gonna look up more on UDP and file transfer...any help appreciated!
There is online documentation of the TFTP protocol. If you search on www.google.com for "tftp protocol". There is an RFC and entry in Wikipedia.
I would personally find a TFTP server, and a TFTP client program. Run the client program with WireShark (packet sniffer) running and look at the data going back and forth.
TFTP (from what I briefly read just now) is a very simple protocol and shouldn't be hard to figure out.
You could use the Microsoft Winsock Control to make your program since it supports both TCP and UDP.
If you find a tftp client and know of a server running tftp, let me know and I can help more.
Edit:
http://www.tftp-server.com/tftp-client.html
A free TFTP client. Now all you need is either to find a server running TFTP, or find some TFTP server software (it's on that website but not free) and run it yourself.
Awesome, thanks ill give it a look...i figured from what i read searching on google that the protocol shouldn't be too hard to figure out, basically all im trying to do is run a server that will upload a file once someone connects to it...fairly simple.
Thanks bro!
whoa lol i used wireshark to look through the information and that just confused me even more! There was some good documentation on it but cant seem to find anything relating how i would use it with winsock ... hmm
Ok here's what i was thinking...i found a very simple TFTP server for free, i'm just wondering if there is some way i could run it inside my program without the end user actually noticing...hmm. I'm gonna start a new thread on that topic unless i can find something through search feature