Hi,
How can I upload an xml file from a client machine to the basex server?
After spending a couple of hours trying to use the "BaseX GUI" which apparently is not possible, I'm now trying to use the "basex client" instead.
I've managed to login from the client to the server by doing;
java -cp basex-6.2.2.jar org.basex.BaseXClient -U admin -P admin -n 192.168.2.10
then creating a database;
create db test open test
but when I try to upload a file by doing;
add text.xml
it says;
File or directory "C:/BaseX/test.xml" not found.
If I go to the server and create a file there called test.xml then go back to the client and do "add text.xml" it works! So the "add" command seems to add files on the server, not the client.
Is it possible to add a file / document to the server from a client, or can it only be done at the server?
Thanks,
Nigel