TFTP application written in C#


This application is the beginning of a program I want to use to download switch/router configuration files via TFTP and archive them. This application merely asks for an IP address and a filename then it receives the file via TFTP and displays it in a RichTextBox.

I searched all over the web for a TFTP application written in C# but could find none 'freely' available, and was not about to spend $400 to get a control. I came up with the following app which does what I need so I figured I would share it. I am not a professional programmer, I am a network engineer so if some of the code is ugly then... J . This app is the beginning of a program I want to use to download switch/router config files via TFTP and archive them. This App merely asks for an IP address and a filename then it receives the file via TFTP and displays it in a RichTextBox. Feel free to do with what you will, there may be others who need similar functionality and don't want to go broke looking for it. Shouldn't be too hard to take this and make a complete TFTP class from it either. Anyway thanks for the site and have a great day!


Similar Articles