473,662 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create directory in a website

I have a asp.net website and i need to create directories in the
website. Basic requirement is to copy set of files to website(rather
webserver machine) .These files are being referred in the web page
running in the website(webserv er). Seems to be a roadblock now.. Would
be a great help if anybody can give some inputs.

Regards,

Aneesh P

Jul 10 '07 #1
3 2253
??? What is the problem.
You shall be able to create folder/file under the web folder??

--
cheers,
RL
"Aneesh Pulukkul[MCSD.Net]" <an******@gmail .comwrote in message
news:11******** **************@ x35g2000prf.goo glegroups.com.. .
>I have a asp.net website and i need to create directories in the
website. Basic requirement is to copy set of files to website(rather
webserver machine) .These files are being referred in the web page
running in the website(webserv er). Seems to be a roadblock now.. Would
be a great help if anybody can give some inputs.

Regards,

Aneesh P

Jul 10 '07 #2
Why not call the CreateDirectory method on the Directory class? As long
as the user that the process is running under has the appropriate
permissions, you should be fine.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Aneesh Pulukkul[MCSD.Net]" <an******@gmail .comwrote in message
news:11******** **************@ x35g2000prf.goo glegroups.com.. .
>I have a asp.net website and i need to create directories in the
website. Basic requirement is to copy set of files to website(rather
webserver machine) .These files are being referred in the web page
running in the website(webserv er). Seems to be a roadblock now.. Would
be a great help if anybody can give some inputs.

Regards,

Aneesh P
Jul 10 '07 #3
On Jul 10, 11:40 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guar d.caspershouse. comwrote:
Why not call the CreateDirectory method on the Directory class? As long
as the user that the process is running under has the appropriate
permissions, you should be fine.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard .caspershouse.c om

"Aneesh Pulukkul[MCSD.Net]" <anees...@gmail .comwrote in message

news:11******** **************@ x35g2000prf.goo glegroups.com.. .
I have a asp.net website and i need to create directories in the
website. Basic requirement is to copy set of files to website(rather
webserver machine) .These files are being referred in the web page
running in the website(webserv er). Seems to be a roadblock now.. Would
be a great help if anybody can give some inputs.
Regards,
Aneesh P- Hide quoted text -

- Show quoted text -
Thanks guys. Sorry for the delay. Got it Nich, CreateDirectory works.

Jul 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
367
by: Tom Pester | last post by:
This is the simplified structure of my website in IIS : c:\Website -------> Home (normal directory) -------> Engine (*virtual directory* but not an application!) I made the Engine (which contains code I use in many sites and thus is centralised) not an application because I use application variables within this directory.
2
1962
by: Mickey | last post by:
When I try to create a new web application in VS Studio .NET 2003 at a simple default location eg: http://localhost/WebApplication1 I get the following error: Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web Server. Run Visual Studio .NET setup and add the Web Development component. Now in IIS6 my default website points at c:\websites which...
3
2362
by: Opa | last post by:
Hi, Been stumped for many, many hours trying to create a web service project. I greatly appreciate any help. I get an error everytime I try to use the Visual Studio.NET wizard to create a Web Service. The error is: Visual Studio.NET cannot create or open the application. Website 'http://localhost/WDWS' not started on this Web server.
8
1963
by: theWizard1 | last post by:
Using Asp.NET 1.1, and C#. I have a directory for the website, and a directory under it named Secure. I have a web.config in each of the above directories. The web.config in the Secure directory contains the connection string information for the database. How can I use ConfigurationSettings.AppSettings to show the path of the Secure directory when getting the connection string?
3
2403
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull down all the files and create a local project from it? I know things like DreamWeaver will do this ... and I have been poking around VS 2005 and haven't seen anything that jumps out at me.
16
3876
by: Mich | last post by:
Hi, i'm building an web application for anonymous users. They can take a look in the website, nothing more. In order to perform other actions, the anonymous user must be logged. So i create an aspx page with the CreateUserWizard control. The user can fill his username, password etc .... My problem is: when an user fills everything and clicks on button "create an account", nothing happens (no error, but no user account created). I...
28
3831
by: trey | last post by:
I am getting the following error when trying to create a new web application with Visual Studio 2003: Visual Studio could not identify the version of Asp.Net on the web server.The web server reported the following error when attempting to create of open the web project located at the following URL:'http://localhost/webapplication1'.'HTTP/1.1 401 Access Denied'. Did a google on this error and found some things to try, and this is what I...
3
1851
by: ningjun.wang | last post by:
I use Visual Studio .NET 2005 to create a website called "website1". When I start this website in Visual Studio, the URL is http://localhost:49299/website1/default.aspx How can I get rid of "/website1" in the path? I want the URL to be http://localhost:49299/default.aspx The reason I want to get rid of /website1 is that I want the URL to be http://www.mycompany.com/default.aspx on production machine.
2
2409
by: John_Doe | last post by:
Can anyone clarify what the difference between these two choices is when developing website? I have IIS installed too, so I can pick this too if there is a reason. From the point of view of sharing the code with other developers and keeping source in VSS File System seems to be more flexible choice. However, my current understanding is that when you keep it in the File System and start it from Visual Studio it runs on Web Server built...
0
8432
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8762
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8545
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4179
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.