Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Saturday, August 30, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > File Management
Search:
What's New - What's Hot
Listings for Code behind Code behind (4)
Listings for Config Files Config Files (13)
More Categories for File Downloading File Downloading (1)
Listings for File Manipulation File Manipulation (46)
Listings for File Upload File Upload (126)
Listings for FileSystemWatcher FileSystemWatcher (9)
Listings for Hard Drive Directories Hard Drive Directories (11)
Listings for Read & Write file Read & Write file (29)


Multiple File Upload With Progress Bar Using Flash and ASP.NET        
Total Hits: 5  |  Today: 0 Author: darick_c       Rating:  
Read Reviews | Write Review |   Your Rating: 

It is difficult to find a decent upload control that handles large files, shows a progress bar, and still works in a medium-trust hosting environment. The problem with these controls is that medium-trust does not allow Reflection. But this does not mean that we are out of luck. One of the problems these controls strive to overcome is the server running out of memory when large files are uploaded by streaming the uploaded file to disk. But the HttpPostedFile class description states that "By defa...

Powerful File manager        
Total Hits: 4  |  Today: 0 Author: mohsen ahmadian       Rating:  
Read Reviews | Write Review |   Your Rating: 

In the web application some times you need to manage your files or allow your users to manage their files. In this time you need a file manager and creating a powerful solution is time consuming, but you don't have enough time. This was the story of my work when I needed it. I think if I write a powerful file manager that is simple to use and portable, did my best....

Reader/Writer Locks and the ResourceLock Library        
Total Hits: 18  |  Today: 0 Author: Jeffrey Richter       Rating:  
Read Reviews | Write Review |   Your Rating: 

If multiple threads concurrently execute code that writes to or modifies a resource, then obviously the resource must be protected with a thread synchronization lock to ensure that the resource doesn't get corrupted. However, it is common to have a resource that is occasionally written to but frequently read from. If multiple threads are concurrently reading a resource, using a mutual exclusive lock hurts performance significantly because only one thread at a time is allowed to read from the res...

Reading appSettings and connectionStrings from web.config file in asp.net        
Total Hits: 56  |  Today: 0 Author: Raja       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this tutorials, I am going to explain how to read appSettings and connectionStrings values from the web.config file. In the code behind file, you will have to use System.Configuration namespace. So add it at the top of the .cs file like...

Limiting File Upload Sizes with ASP.NET        
Total Hits: 6  |  Today: 0 Author: Sbanerjee       Rating:  
Read Reviews | Write Review |   Your Rating: 

User can upload images of any arbitrary size. This is not good for either network traffic or database size, and raises the possibility of a nasty denial of service attack. So, the next step is to limit the uploaded file size to a reasonable value. The customer chose 128K as their maximum image size. Your first thought might be to check the ContentLength property of the uploaded file to see if it's within the expected size, and to bail out of the procedure if it's too large. Unfortunately, this i...

Displaying the files for a specific folder and allow the user to download them.        
Total Hits: 8  |  Today: 0 Author: anas       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is how to to list the files in a specific directory and allow the user to download the files.......

FileUpload with Master Page, Ajax Update Panel, FormView and Object Data Source        
Total Hits: 38  |  Today: 0 Author: SumanBiswas       Rating:  
Read Reviews | Write Review |   Your Rating: 

It’s my first article for Asp.net. Generally I write code in network field with C#.Net but from few days I’m working in Web development and facing various problem. Also that article has influenced me from a problem in my project. And after getting solution of it I’m writing that article. You can see my blog at http://socketprogramming.blogspot.com....

File Upload with ASP.NET        
Total Hits: 8  |  Today: 0 Author: Konstantin Vasserman       Rating:  
Read Reviews | Write Review |   Your Rating: 

Back in the ASP world, uploading files via a web page was a tricky problem. The problem was that due to the encryption type of the form used to submit the file from the client's browser, receiving such files on the server side was a complex task. Data had to be retrieved as a safe byte array and decrypted before it could be used. Most of the people resorted to 3rd party DLLs. A few wrote their own DLLs and some even wrote purely ASP solutions to this problem using VBScript. Fortunately for us, t...

ASP.NET Zip Entry Handler        
Total Hits: 7  |  Today: 0 Author: Jake Morgan       Rating:  
Read Reviews | Write Review |   Your Rating: 

The ZipEntryHandler enumerates and serves files out of static zip files deployed in your web space. The handler is implemented as a simple ASP.NET IHttpHandler deployed with a code file in the App_Code directory on your website and configured with a line in the web.config file. The handler is very useful for several purposes:
* Serving otherwise prohibited files - Code files with extensions that have special meaning to the web application ("cs", "vb", "aspx") can be served statically.
...

Mainpulating Files and Directories in ASP.NET        
Total Hits: 10  |  Today: 0 Author: Bean Software       Rating:  
Read Reviews | Write Review |   Your Rating: 

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 functionalities. 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 n...

Save & Read Image From Database        
Total Hits: 23  |  Today: 0 Author: Bean Software       Rating:  
Read Reviews | Write Review |   Your Rating: 

ASP.NET provides a simple mechanism to upload image files to a database, like SQL Server. The images can be stored in a database table attribute that is of image data-type. You can use the following SQL statement to create a table that can store image files:...

File Upload & Compression in ASP.Net        
Total Hits: 71  |  Today: 0 Author: Bean Software       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this article I am going to look at how to upload a file to the web server and compress it using the compression methods provided in .Net. I will use the open source compression method to compress to a .gz file. The method is available in System.IO.Compression....


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net