Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 29th, 2004, 02:44 AM
Authorized User
 
Join Date: Aug 2004
Location: Delhi, Delhi, India.
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

thanks

Prabhakar Kumar
__________________
Prabhakar Kumar
Reply With Quote
  #2 (permalink)  
Old December 29th, 2004, 05:07 AM
Friend of Wrox
Points: 2,473, Level: 20
Points: 2,473, Level: 20 Points: 2,473, Level: 20 Points: 2,473, Level: 20
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2004
Location: India
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.