Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread How can I know the actual data path when using remote host connection?
Sun, Dec 28 2008 11:06 AMPermanent Link

"Ricky"

It is easy for me to local actual data pathg when using local method. Now  I
change to C/S remote connection method. How can I know the actual data path
when using remote host connection?
--
Ricky Chau

--
Ricky Chau

Sun, Dec 28 2008 12:00 PMPermanent Link

"Robert"

"Ricky" <ricky@gmsolution.com.hk> wrote in message
news:8426A8CF-FD84-4FEF-96D9-D068AE425675@news.elevatesoft.com...
>
> It is easy for me to local actual data pathg when using local method. Now
> I change to C/S remote connection method. How can I know the actual data
> path when using remote host connection?

asls - my session
dbdesc, serverpath - strings
db - my database

the database location *relative to the server* will be in serverpath

Robert

      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;


Image