NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Johan van Zyl on November 29, 2011, 10:46:47 PM

Title: data folder - where to put it?
Post by: Johan van Zyl on November 29, 2011, 10:46:47 PM
Hi

How important is it to have your data folder (TPS files) within the web folder, as in
.\web\data
Can one have it here - c:\AppFolder\data ?

Thx
Title: Re: data folder - where to put it?
Post by: terryd on November 29, 2011, 10:58:11 PM
Hi Johan
Your tps files shouldn't be in the web folder at all(I don't think you want to give the viewers access to them :), rather in the folder above the web folder together with the exe.
so
appfolder (includes both exe and tps files)
web

Title: Re: data folder - where to put it?
Post by: kevin plummer on November 29, 2011, 11:19:19 PM
You can put them where ever you want and then just use the techniques for a normal win32 app to tell your program where they are. However as Terry mentions, putting them in or below the web folder is not a good idea.