NetTalk Central

Author Topic: data folder - where to put it?  (Read 3708 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
data folder - where to put it?
« 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
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: data folder - where to put it?
« Reply #1 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

Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: data folder - where to put it?
« Reply #2 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.