Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 24 of 24 total
Thread Accessing files in relative pathes on a client/server system
Wed, Nov 21 2007 11:22 AMPermanent Link

Ralph
Hi Tim,

yes, the path exists. and is defined via the admin-tool.

Thanks,

Ralph

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:

Ralph,

<< when I use this for example:
 Engine.GetServerDatabase('TCSDB',sDesc,sRemoteDirectory);
 ShowMEssage(sRemoteDirectory);
Then sRemoteDirectory is always empty (''). >>

Is the TCSDB database defined on the database server with a non-empty path ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Nov 21 2007 11:25 AMPermanent Link

"Robert"

"Ralph" <ralphdietrich@gmail.com> wrote in message
news:0E2B34BC-FC87-4CE3-B892-2B1FBD55F406@news.elevatesoft.com...
> Hi,
>
> I am sorry again,
>
> how can I retrieve the currrent Server DB-Path from the client side?
>

This is what I do (I do the backups in [database]\backup, so I need a server
path). Asls is a session, db a database

      asls.SessionType := stRemote;
      asls.RemotePort := 12006;
      asls.RemoteEncryption := true;
      asls.Open;
      dbdesc := db.RemoteDatabase;
      asls.GetRemoteDatabase(db.RemoteDatabase, dbdesc, serverpath);
      BackupDirectory := trim(ServerPath) + '\BACKUP';
      asls.Close;
      asls.RemoteEncryption := false;
      asls.RemotePort := 12005;

Robert



Fri, Nov 23 2007 3:45 AMPermanent Link

Ralph
First, thank all y'all Wink

Please let me remark something else:
IntraWeb and DBISAM works very well together. I just mean in my temporary tests. SmileLike
you all know: Own tests mostly work fine. Smile

But now in the productive/real environment:
If anybody devoloped applications regarding IntraWeb (AToZed Software) and DBISAM, would
there be anything special to remark / mention it?

Thanks a lot to all of you guys there. I hope I can help soon as well, but I am new to
that kind of special requirements, although I have been using DBISAM for more than 5
years. But just local.

Thanks for your help.

Special and many, many thanks to Tim, Eryk, Roy and ALL(!) the others who helped me again
and again. SmileThe answers are quick although the time shift is round about 7 to 8 hours.
Thanks.

Best regards,

Ralph



"Robert" <ngsemail2005withoutthis@yahoo.com.ar> wrote:


"Ralph" <ralphdietrich@gmail.com> wrote in message
news:0E2B34BC-FC87-4CE3-B892-2B1FBD55F406@news.elevatesoft.com...
> Hi,
>
> I am sorry again,
>
> how can I retrieve the currrent Server DB-Path from the client side?
>

This is what I do (I do the backups in [database]\backup, so I need a server
path). Asls is a session, db a database

      asls.SessionType := stRemote;
      asls.RemotePort := 12006;
      asls.RemoteEncryption := true;
      asls.Open;
      dbdesc := db.RemoteDatabase;
      asls.GetRemoteDatabase(db.RemoteDatabase, dbdesc, serverpath);
      BackupDirectory := trim(ServerPath) + '\BACKUP';
      asls.Close;
      asls.RemoteEncryption := false;
      asls.RemotePort := 12005;

Robert



Fri, Nov 23 2007 12:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ralph,

<< yes, the path exists. and is defined via the admin-tool. >>

And you're using:

Engine.GetServerDatabase('TCSDB',sDesc,sRemoteDirectory);

from within the database server itself, correct ?

If you're using it from a remote session, then that's the issue.  For remote
sessions, you have to use this method instead:

http://www.elevatesoft.com/dbisam4d7_tdbisamsession_getremotedatabase.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

« Previous PagePage 3 of 3
Jump to Page:  1 2 3
Image