Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 29th, 2004, 02:44 AM
Authorized User
Join Date: Aug 2004
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Prabhakar_dt
Default Creating Folder On Server

Hi to all,
         I want to create folder on the server.I have written a code which is working on localserver but after uploading site it doesn't work.

Will anyone hep me to create folder on Web Server. Please send me code.

It's urgert


Prabhakar Kumar
Prabhakar Kumar
Old December 29th, 2004, 05:07 AM
Friend of Wrox
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts

You need to have proper permissions to create folders on the server.

Following is the example to create folder:

dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject ")
set f=fs.CreateFolder("c:\asp")
set f=nothing
set fs=nothing

Om Prakash

Similar Threads
Thread Thread Starter Forum Replies Last Post
error creating new folder in asp kingbee Classic ASP Basics 2 March 10th, 2006 05:09 AM
how to view server folder ? cslimcom VBScript 3 December 21st, 2004 10:20 PM
view server folder problem? cslimcom Classic ASP Databases 4 December 21st, 2004 10:08 PM
creating folder: System.UnauthorizedAccessExceptio akthar General .NET 3 August 27th, 2004 07:58 AM
Need help in creating folder tree velmj XSLT 1 November 19th, 2003 06:28 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.