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

Dev Articles
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 > C-Sharp > File Management
Search:
What's New - What's Hot
Listings for File Downloading File Downloading (8)
Listings for File Uploading File Uploading (14)
Listings for Hard Drive Directories Hard Drive Directories (15)
 


Workaround: svn:externals with a space in the directory name        
Total Hits: 11  |  Today: 0 Author: Riaan Lehmkuhl       Rating:  
Read Reviews | Write Review |   Your Rating: 

Now being able to add the external, there is a new problem:
When I put the "%20" in the name, I get a directory with the characters "%20" in the name. I could have just used an underscore, but the there are references to the "User controls" directory in the project and for future compatibility I didn't want to deviate from the original structure....

ZipStorer - A Pure C# Class to Store Files in Zip        
Total Hits: 17  |  Today: 0 Author: Jaime Olivares       Rating:  
Read Reviews | Write Review |   Your Rating: 

There are many techniques to produce Zip files in a .NET 2.0 environment, like the following:
* Using the java.util.zip namespace
* Invoking Shell API features
* Using a third-party .NET library
* Wrapping and marshalling a non-.NET library
* Invoking a compression tool at command-line...

Volume File Renaming For the Eccentric        
Total Hits: 15  |  Today: 0 Author: thund3rstruck       Rating:  
Read Reviews | Write Review |   Your Rating: 

Multi-File Renamer is a simple Windows Forms Application I created to assist me with renaming thousands of files. It's as simple a program as one could imagine and it's not cluttered with difficult user selected options and other garbage that you see in most file renaming tools. The things you can do with this are:
* Replace Strings in files names (supports RegEx)
* Add Prefix to files names
* Add Suffix to files names
* Change file names to UpperCase
* Change ...

CSV to Table to CSV        
Total Hits: 16  |  Today: 0 Author: Mycroft Holmes       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is the utility I use (converted from VB) to move data to and from CSV files and Data Tables. Hopefully this will help all those questions about moving CSV data to and from datatables. A lot of my work involves moving large amounts of data from legacy and core data systems into analysis and reporting systems. This is just one of the utilities I have developed over the years to meet those requirements. This version does not support text delimiters (commas embedded in the data will break the s...

CBR/CBZ Comics in C#        
Total Hits: 18  |  Today: 0 Author: thund3rstruck       Rating:  
Read Reviews | Write Review |   Your Rating: 

While comic books can be easily dismissed by some as a juvenile distraction, I see them as I did when I was a child. To me, these are tales of excitement, morality, and adolescent empowerment that can insight interest in art, narrative, and human nature. Most of the 20th century comic books were represented in physical (book) format, and part of the enjoyment derived from the book was from the physical entity itself. However, as technology advances, all forms of media are re-inventing themselves...

Generate PDF using C#        
Total Hits: 26  |  Today: 0 Author: Predrag Tomasevic       Rating:  
Read Reviews | Write Review |   Your Rating: 

I must confess that I’m not big fan of PDF. Still it somehow manages to wiggle in almost every project I'm on – clients want to send out documents, Word is bounded to Windows, HTML is lame, PDF it is. Unfortunately, situation with it and C# haven’t changed much in couple past years - if there were no new, fancy, priced components, I would conclude that it’s almost the same as it was in .NET 1.1 times – it is pain to create PDFs. For you that have access to components which can convert ...

FTP Client and HttpFileDownloader Components(Controls)        
Total Hits: 50  |  Today: 0 Author: Alex_1       Rating:  
Read Reviews | Write Review |   Your Rating: 

Once I needed a simple, open source and robust FTP client to include in my project. To my surprise I was not able to find one in spite of many FTP clients that were published on various websites including Codeproject. So what appeared to be a problem? The problem was the quality: simply the published projects were all just demos. There was no quality FTP clients. According to the rating, the most popular Codeproject’s Ftp client is here : http://www.codeproject.com/KB/IP/FtpClient.aspx. However ...

Copy files to a folder        
Total Hits: 70  |  Today: 1 Author: John.Jiang       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this sample,It shows how to copy all files in a folder and copy them to another folder. (Optional) Is there any background to this article that may be useful such as an introduction to the basic ideas presented? A brief description of how to use the article or code. The class names, the methods and properties, any tricks or tips....

C# (.NET) Interface for 7-Zip Archive DLLs        
Total Hits: 63  |  Today: 1 Author: Eugene Sichkar       Rating:  
Read Reviews | Write Review |   Your Rating: 

7-Zip is an open-source archive program with plug-in interface. New archive formats and/or archive codecs can be added by DLLs. 7-Zip ships with several archive formats preinstalled:
* 7z — its own format features good compression (LZMA, PPMd) but can be slow in terms of packing/unpacking
* Packing / unpacking: ZIP, GZIP, BZIP2 and TAR
* Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, Z, CPIO, RPM, DEB and NSIS
The project is written in C++ language.
You can find more on...

Read text file (txt, csv, log, tab, fixed length)        
Total Hits: 86  |  Today: 1 Author: Pradeep KV       Rating:  
Read Reviews | Write Review |   Your Rating: 

We come across many situations where we need to read the data and process it from the text files (.txt, .CSV, .tab). The most common way is to use the StreamReader (.NET) / FileSystemObject (VB 6.0) and read the file line by line. Suppose that we are able to read the file as a database table and process the data by querying the table, we find many disadvantages with the above approach.
Some of the disadvantages are
1. Connected environment. Locks the file until the process is complete.<...

Export To CSV file        
Total Hits: 57  |  Today: 0 Author: XIII       Rating:  
Read Reviews | Write Review |   Your Rating: 

CSV file is a text based file in which data are separated by comma. It can be opened by excel so you can use excel functionality. Each row of data including the title is in separate line. Meanwhile, each row has data separated by comma. We need to write data to the Response object. Meanwhile the content type should be text/csv also a header type of attachment should be added to response. Afterwards, column names are written to response then to actual data is written (each row should be just in o...

Foderbackgound customizer        
Total Hits: 19  |  Today: 0 Author: Abbas Ali Butt       Rating:  
Read Reviews | Write Review |   Your Rating: 

In the begining user does not have any User interactive/friendly interface user can interact with the os through the DOS or any type of command prompt then become interfaces for interact with the os and other applications then user want to set different backgrounds at the desktop but user can also want to set the background on so many other places for example at the background of any folder so now user can his/her desire fullfill through different softwares....



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