|
|
| File & Disk Info [+] Favor-It | |
| |
 |
| | Sort By:
|
The System.IO namespace in the .NET framework makes working with file system and directories very easy. In this article, I will list down few important classes in .NET that you need to know in order to manipulate files and folders in ASP.NET application. Author: Handy CHang Code: ASP.NET v2.0 & C# |
For this article I have picked one part of file processing: listing of files and directories. I have built a few nice scripts that can be later used in your own applications. Additional articles will deal with reading and writing files. Author: Christoph Wille Code: ASP.NET Beta 1 & VB |
Using ASP.NET it is very easy to extract information about a file, including its name, path, extension, size, and various access and creation datetimes. This article quickly goes over the code needed to gather information about files.
Author: Steven Smith Code: ASP.NET Beta 2 & VB |
|  | |
The System.IO.FileAttributes class gives us access to file and directory attributes. In this article, we'll see how to use this class to first read the current attributes and then change them. Author: Evagoras Charalambous Code: ASP.NET v1.0 & VB |
The File.Delete method easily allows text and other file types to be blown away. You do not need to map to directories and all that other traditional junk.
Author: Rob Taylor Code: ASP.NET v2.0 & VB |
The following script will dynamically create a new directory based on what the user enters in the form. Make sure you have Read, Write, and Change (R,W,X) permissions set on the directory you want to create the folder in. Author: Rob Taylor Code: ASP.NET v2.0 & VB |
|  | |
Icon Key >
 - Recently Updated
 - Showcase Listing
|