Web Hosting Offers
See the new scripts recently added to Dynamic Drive. Click here.
Original, practical CSS codes and examples such as CSS menus for your site.
 

Hot scripts

 
PHP scripts
ASP scripts scripts
ASP.NET scripts
C AND C++ scripts
CFML scripts
CGI AND PERL scripts
FLASH scripts
JAVA scripts
JAVASCRIPT scripts  
PYTHON scripts  
Remotely Hosted scripts
Tools and Utilities scripts   
XML scripts
Submit your script scripts
 
  SEARCH  
 
  Keyword
 
  In
 
 
   
 
  LOGIN HERE  
 
Username
Password
Signup Now
Add New Resource
Forgot Password
Verify Signup
 
GoDaddy.com Hosting & Servers
Please boomark our scripts directory:
  • Digg
  • Del.icio.us
  • Furl
  • My Yahoo
  •  
     
       Top >>ASP >> Tips and Tutorials >> File Manipulation

    ASP/ Tips and Tutorials/ File Manipulation Hot scripts::

    Presented here are a good collection of ASP/ Tips and Tutorials/ File Manipulation Hot scripts. Enjoy!
     
    1. Displaying Sub Folders
    Following example displays all sub folders in current folder. We will use SubFolders property of FileSystem Object for this source code. First we will find our current path using System.MapPath.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    2. Delete Folders Online
    ASP does not allow you to use IO system to modify on files and folders. But with the help of FileSystem object you can delete any file on your server. Do not forget to double check permissions for this operation.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    3. Delete Files Online
    Following active server pages code delete a file. Example uses FileSystem object to delete the file. Do not forget to double check permissions for this operation.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    4. Create a 'downloads page'
    An easy example that shows how to build a page with a bunch of downloads if you DO NOT what the users to know the exact path where all of your files are stored. Also learn how to make a downloads counter!
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    5. Checking Files Exists
    If you want to check a file exists, you may use this code. First we are starting script creating a copy of File System Object. FSO has many useful methods. One of them is 'FileExists' that we will use it now.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    6. Copying Folders (using File System Object)
    If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder to another folder.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    7. Copying Files (using File System Object)
    Sometimes you need to copy files to another folder. First you should require to use FSO (File System Object.) CopyFile method of FSO is the simplest way to copy the files. Following sample code will copy some files to another folder.
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    8. file information
    This example displays some useful file examples . Last accessed , last modified and when the file was created
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    9. read a file
    This is some sample code for reading a file .
    Visitor Ratings (0) :  
    Member Ratings (0):
     
    10. create a file
    Easy code for creating a file
    Visitor Ratings (0) :  
    Member Ratings (0):
     
     Pages:        1