[ENG by google]
Hello greetings
I have the following situation
I load the NetIO server as follows:
------------------------------------
D: \ sys_gvs \ GVSNetIO> hbnetio -port = 2941 -iface = 192.168.1.6 -rootdir = D: \ labgvs \ nptbs \ 2021 \ server -rpc -rpc = C: \ harbor \ core \ contrib \ hbnetio \ utils \ hbnetio \ rpcdemo.hb -pass = psw
Harbor NETIO Server 3.2.0dev (r2011030937)
Copyright (c) 2009-2020, Przemyslaw Czerpak, Viktor Szakats
2021-11-15 13: 50: 37.338 Ready to accept connections.
2021-11-15 13: 50: 37.339 Root filesystem: D: \ labgvs \ nptbs \ 2021 \ server
2021-11-15 13: 50: 37.340 RPC support: enabled
2021-11-15 13: 50: 37.341 RPC filter module: C: \ harbor \ core \ contrib \ hbnetio \ utils \ hbnetio \ rpcdemo.hb
------------------------------------
Note that:
1.- hbnetio.exe is in the folder "D: \ sys_gvs \ GVSNetIO", and it is the value that netio_FuncExec ("hb_DirBase") returns me when I execute it from the client side.
2.- The -rootdir parameter is pointed to the folder "D: \ labgvs \ nptbs \ 2021 \ server", which is where I have my DBFs and it is where "net:" points from the client when I connect to the server.
On the client side I can open a DBF started my path with "net:" + "\ dir1 \ dir2 \ file.dbf"
How can I go server-side to retrieve the value of -rootdir so that I can open my DBF files?
[SPA]
NetIO: Cómo abrir una DBF que está en el lado del servidor en -rootdir
Hola, saludos
Tengo la siguiente situación
Cargo el servidor de NetIO de la siguiente manera:
------------------------------------
D:\sys_gvs\GVSNetIO>hbnetio -port=2941 -iface=192.168.1.6 -rootdir=D:\labgvs\nptbs\2021\servidor -rpc -rpc=C:\harbour\core\contrib\hbnetio\utils\hbnetio\rpcdemo.hb -pass=psw
Harbour NETIO Server 3.2.0dev (r2011030937)
Copyright (c) 2009-2020, Przemyslaw Czerpak, Viktor Szakats
2021-11-15 13:50:37.338 Ready to accept connections.
2021-11-15 13:50:37.339 Root filesystem: D:\labgvs\nptbs\2021\servidor
2021-11-15 13:50:37.340 RPC support: enabled
2021-11-15 13:50:37.341 RPC filter module: C:\harbour\core\contrib\hbnetio\utils\hbnetio\rpcdemo.hb
------------------------------------
Nótese que:
1.- hbnetio.exe está en la carpeta "D:\sys_gvs\GVSNetIO", y es el valor que me retorna netio_FuncExec( "hb_DirBase") cuando lo ejecuto desde el lado del cliente.
2.- El parámetro -rootdir está apuntado a la carpeta "D:\labgvs\nptbs\2021\servidor", qué es donde tengo mis DBF y es hacia donde apunta "net:" desde el cliente cuando me conecto al servidor.
En el lado del cliente puedo abrir un DBF iniciado mi ruta con "net:" + "\dir1\dir2\file.dbf"
¿Cómo puedo hacer en el lado del servidor para recuperar el valor de -rootdir y poder abrir mis archivos DBF?