473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Publish a website without deleting a folder

I have a website with a public folder (users can upload images into it) so
I'm wondering if it's possible to avoid the deletion of this folder when I
re-publish the website from visual studio. Do I have to set particular
permissions on the server?
Thank you in advance!
Paolo
Feb 21 '07 #1
3 3860
Hi,

Paolo Niccolò Giubelli [Axettone] wrote:
I have a website with a public folder (users can upload images into it) so
I'm wondering if it's possible to avoid the deletion of this folder when I
re-publish the website from visual studio. Do I have to set particular
permissions on the server?
Thank you in advance!
Paolo
Using the "new website" model, I don't think you can publish without
erasing all first. That's one more reason to use the Web Application
Project template instead.

http://webproject.scottgu.com/

Note: WAP is included in VS2005 SP1, so if you install SP1, you must
uninstall WAP first.

Then choose "New project" and then "Web / ASP.NET Web Application". You
have much more options that you can control, including for publishing.

HTH,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Feb 21 '07 #2
publish to a local site and then use Copy Project from there. CopyProject
allows you to pick and choose what gets moved and what doesn't and nothing
gets deleted on the remote site unless you want it deleted.

imo, the best way to do this is to use a Web Deployment Project to 'publish'
locally, this allows you to specify what to include and what not to include.
then open this locally published site and CopyTo your live site using the
"synchronize" option.

Gerry

"Paolo Niccolò Giubelli [Axettone]" <axettone|at|hotmail|comwrote in
message news:95**********************************@microsof t.com...
>I have a website with a public folder (users can upload images into it) so
I'm wondering if it's possible to avoid the deletion of this folder when I
re-publish the website from visual studio. Do I have to set particular
permissions on the server?
Thank you in advance!
Paolo

Feb 21 '07 #3
Thank you!! Finally I discovered the difference!
Simply fantastic! ;-)
Bye!!
Feb 21 '07 #4

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

Similar topics

0
by: Mike S. | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
1
by: William Sullivan | last post by:
K, got a website, need to publish it to the test server. Publish the website, k. As its publishing, it creates a copy of my bin directory under my bin directory on my dev box. Now I've got...
3
by: mrajanikrishna | last post by:
Hi friends, I've designed an application in my local system using VS.NET 2003. (VB.NET and ASP.NET) Its working fine. Now, I want to publish to my ISPs server. I've FTP account. How can I...
2
by: schneider | last post by:
Hi all, I want to publish my asp.net 2.0 website using the "publish website" feature of visual studio 2005. everything works fine so far, but the IDE only compiles and copies the aspx, ascx,...
1
by: =?Utf-8?B?TWFyZWs=?= | last post by:
Hi Sorry for the newbie question, but is it possible to stop the publish operation from Visual Studio 2005 deleting files in a specific folder on the web server? I have an uploads folder on the...
5
by: Cirene | last post by:
When would I use "Copy Web site" over "Publish Website" or visa versa? Why would I use the Web Deployment Project vs these options? I want to make sure no one can pull up/read/download my vb...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.