FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Data access via internet connection
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Data access via internet connection
Posted: Fri Aug 08, 2008 11:09 PM

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)
Posts: 408
Joined: Sun Aug 13, 2006 05:38 AM
Data access via internet connection
Posted: Sat Aug 09, 2008 01:57 AM
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
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
Data access via internet connection
Posted: Sat Aug 09, 2008 11:01 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Data access via internet connection
Posted: Sun Aug 10, 2008 11:52 AM

Jeff,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Data access via internet connection
Posted: Tue Aug 12, 2008 02:06 AM

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)

Continue the discussion