I was doing a little research this morning, while working on a demonstration that I am building, trying to figure out to what extent I could interact with a Network Servers File Directory within a "Trusted" ASP.NET Application.  I came across an article that had everything that I wanted, a little explanation and a lot of code examples, which is the way that I like to learn (i.e., via code examples).  It's a very quick read, and even if it's not something that you need on your current project, it's nice to have the "how to" part in your back-pocket for that day that you do. 

From the site's overview of the article:

Let suppose, you have to enable your website users to upload their pictures. Or suppose you have to place functionality of uploading product images along with the product description. In this article, we will explain how you can provide such functionality.

We may need to manipulate files and directories on our web server in different ways. For example, applications need to create a new file, delete an existing file, modify the contents of an existing file, and check whether a file with given name exists or not. Similarly, directories are also required to be manipulated. ASP.Net gives us the opportunity to handle such operations using the namespace System.IO.

To view the article and the code examples: Click Here

~Robert Shelton

Share this post : del.icio.us it! digg it! dotnetkicks it! technorati! yahoo!

Subscribe to Sheltonblog.com

↑ Grab this Headline Animator

Technorati Tags: ,