FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ADS Server & Linux
Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
ADS Server & Linux
Posted: Sun Mar 22, 2009 07:12 AM

Has anyone tried Advantage Data Base Server executing from a Linux server.
Does it function ok?

If using a Linux server with a computer name of Main Server.
Can a windows station execute if file("\MainServer\Data\SomeFile.dbf")

I have never used Linux but I was thinking it may be good for larger installs you would not need Microsoft server.

Any thoughts appreciated.
Mike

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: ADS Server & Linux
Posted: Sun Mar 22, 2009 08:49 AM

> Can a windows station execute if file("\MainServer\Data\SomeFile.dbf")

No.
( Unless special software for this purpose is installed allowing Linux to share its files with Windows ).

But we can use ADS functions (1) AdsFindNextTable62 and (2) AdsFindNextTable62 to obtain a list of tables available on the ADS server given any mask. With this information, we can ascertain if a file exists.

Alternatively we can TRY accessing the table and handle the error returned.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: ADS Server & Linux
Posted: Mon Mar 23, 2009 12:43 AM

Mike,

I'm working with Linux server with ADS 7.1 many years, until now I don´t have any problems, I use ADT file and ADS Dictionary. In my work there are many systems ( FWH + xHb ) which access to differents ads databases plus PHP users to access the same data, the server is Pentium 4 2.4 Ghz 512 MB RAM, in the same servere there are another DB like Postgresql.

Regards

Marcelo

Continue the discussion