Protecting my data file

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hello Everyone

I'm writing data from a form to a CSV file in the _private folder on my
webserver and I'm paranoid I'll overwrite it when I publish my website with
an older version or accidently delete it entirely.

Is there a way of 'protecting' it so that FP2003 doesn't propose to
overwrite or delete it? Or do I just have to take extra care and ignore it
'manually' by responding to the warnings when I publish to the webserver?

Thanks

Steve
 
Open your local site FrontPage and browse to _private/filename.csv (this
is the .csv file you are worried about).
If the file does not exist, create it (File->New - Text File, then save
it with a the correct name and extension - it can be left empty)

Right click the file and choose "Do not Publish" from the context menu.
The file will now be ignored when the web is published to the server.
On the other hand, if/when you publish from the server to the local site,
the server version will overwrite the local version.
 
Back
Top