ADS Server & Linux

ADS Server & Linux

Postby Mike Buckler » Sun Mar 22, 2009 7: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
Mike Buckler
 
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada

Re: ADS Server & Linux

Postby nageswaragunupudi » Sun Mar 22, 2009 8: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
User avatar
nageswaragunupudi
 
Posts: 10624
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: ADS Server & Linux

Postby Marcelo Via Giglio » 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
Marcelo Via Giglio
 
Posts: 1064
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 94 guests