p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Basics (http://p2p.wrox.com/forumdisplay.php?f=61)
-   -   Creating Folder On Server (http://p2p.wrox.com/showthread.php?t=23182)

Prabhakar_dt December 29th, 2004 02:44 AM

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

om_prakash December 29th, 2004 05:07 AM

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


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

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