Data access via internet connection

Post Reply
User avatar
Jeff Barnes
Posts: 933
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Data access via internet connection

Post by Jeff Barnes »

Hi Everybody,

I am looking into creating a new application where I will need to access a dbf file that is stored on the internet.

My idea is to have each user download/install my program then when they run the program it connects to a dbf file on the internet.

There will be many users and different locations and the dbf file will be always growing.

What is the best way to do this (and hopefully at a low cost) with FWH ?

Please note that I would like to stick with dbf files for now.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
quique
Posts: 408
Joined: Sun Aug 13, 2006 5:38 am
Contact:

Post by quique »

I don't test it, but perhaps leto db can serve to you.

Other options are to use a web server, xbscript of xharbour (I'm don't shure if it's free or of xharbour.com) and ftp://ftp.quiquesoft.com/webserv.zip (it's free) boot use xbase code, or you can use php or asp too (I don't shure that asp support dbf). You would do a web client and work doing requests to web server.

Other option is you do a program like server and other like cliente. With fivewin you can use tsocket class and review how work the webserver and webclient of fivewin or smtp for you work in internet, or with xharbour review tip (it's a tools set to work in internet) or review xharbour\samples\sitesvr, it's a good sample of how to make a web server, and with this you can learn how to work in internet, I do some thinks and I'm based in it last.
Saludos
Quique
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Post by xProgrammer »

Hi Jeff

Just the other day I had a little play with FiveWin (well actually FiveLinux) and xHarbour and socket programming. Haven't done very much but enough to demonstrate an xHarbour server servicing xHarbour clients. I passed data across the connection in xml form. If you want to stick with xBase files and FiveWin at both ends that would seem to be quite feasible, provided you can provide adequate security.

Regards
xProgrammer
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Jeff,

Do you plan to use a Microsoft web server or a Linux web server (Apache) ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jeff Barnes
Posts: 933
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Hi Antonio,

I will be using a webserver called Xerver running under Windows Vista.
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
Post Reply