Hi Christian
Do you mean a basex admin, a sys admin, or something else?
Thanks
Op 20 apr. 2017 13:41 schreef Christian Grün <christian.gruen(a)gmail.com>:
Hi Bram,
Users with admin permissions can request the database path via
"db:system()//dbpath".
Hope this helps,
Christian
On Wed, Apr 19, 2017 at 2:13 PM, Bram Vanroy
<bram.vanroy1(a)student.kuleuven.be> wrote:
> Hi List
>
>
>
> In a .basex file we can set the destination of our database. If we then
> create a server, and create a database using a client, the BaseX-files will
> be created in that directory. Is it possible to get the path to this
> directory from within the client? In Perl I tried running the following
> command after looking through the basex client, but I got an ‘undef’:
>
>
>
> my $session = Session->new($host, $port, $user, $pw);
>
> my $t = $session->info;
>
> $session->close;
>
>
>
> print $t;
>
>
>
> Any ideas how to get the configuration values for a basex server from a
> (Perl) client?
>
>
>
> Thank you
>
>
>
>
>
> Bram
>
>