Saturday, February 24, 2007

"Build a Photo Viewer Using the New FTP Classes in .NET 2.0" (with VB.Net)

DevX.comBuild a Photo Viewer Using the New FTP Classes in .NET 2.0

"Yet another highly useful but underappreciated feature of .NET 2.0? How about the FTPWebRequest and FtpWebResponse classes? These nifty classes let you built FTP file access right into your applications. See how it's done with this handy photo viewer example. 

One of the features released with the 2.0 version of .NET was support for FTP. In .NET 2.0, you can now programmatically access FTP servers using the FtpWebRequest and FtpWebResponse managed classes (both derived from the WebRequest and WebResponse classes).

To illustrate the usefulness of using FTP in your .NET applications, I will build a Photo Viewer Windows application that accesses an FTP server. Using this application, users can upload photos to an FTP server and at the same time view images stored on the FTP server. This application is useful to companies who may need to access images uploaded by its partners. A good example is insurance companies, who may need to view photographs of car damages taken by workshop mechanics in order to estimate the cost of repair. Rather than build a complex Web application, the workshop and insurance companies can simply use this application to quickly upload and view photos.

..."

In a past life I've written FTP utilities in VB6 and this article makes me shake my head in wonder in how easy .Net 2 can make some things.

This is a cool, complete, magazine quality VB.Net article. The next time I have to play in FTP land, this article may come in handy...

No comments: