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.
    Search code samples  
 
  Keyword
 
 
 
   
 
 
  Code Samples
 
ASP
CSS
Dhtml
Html
Javascript
PHP
 
   
     LOGIN HERE  
 
Username
Password
Forgot Password
Verify Signup
 
 
 

ASP >> General

How can I create a folder (directory) on the Web server?

Visitor Ratings (0) :

Description
The FileSystemObject contains a CreateFolder method that can be used to create a folder on the Web server's file system. This method takes one parameter, the path of the folder to create.

But before creating you should check if folder already exist. Therefore, rather than just blindly adding a new folder, you may wish to check if it exists first and, if it doesn't, then add it. You can check to see if a folder exists using the FolderExists method of the FileSystemObject object like so:
Code
Select All
 Rate this Resource