Home Page : Downloads
: Web Site Publisher : FAQ :
Configure preserve file?
Web Site Publisher
FAQ: How to ensure that a particular file is never
overwritten when a website is published?
With Web Site Publisher, from version 1.6, it is possible to configure some
files to be preserved and not overwritten when publishing, even if a newer
version exists locally.
To ensure that a particular file is never overwritten (or deleted) when a
website is published:
- You must be using Web Site Publisher version 1.6 (or later).
- In Web Site Publisher, double click on the website to bring up its
properties.
- There is an arrow button on the right of the folder list, click on the
right arrow until you see a tab called "Files".
- On the "Files" tab there are three further tabs, the one you
want is "Exclusions", which will be the tab initially
selected.
- Enter into the list under the title "File" the name of the
file that you want left. You could for example use "*.txt" to
exclude all text files, but if it is a single file you want preserved
then just enter its name.
- Under the title "On Server" select "Ignore".
("Delete" would tell WSP to delete the file,
"Ignore" means it won't overwrite it and won't delete it.)
- 6. Click [Save]