Hi Ben,
I read in the documentation that a client should not only be able to execute commands but should also be able to execute command scripts.
Could you give me a link to the part of the documentation you refer to?
My question is if a command script (a file with extension '.bxs') is passed as a 'path' to the execute-command or is the client supposed to read the file, line by line, and then executing each line separately?
If you refer to the execute function in the API client bindings [1], the argument must be a BaseX command string. If you refer to the BaseX command EXECUTE, the input must be the command script itself (see the example in [2]). The RUN command allows you to specify the path to a file or command script, but if you send this command to a server, the addressed file must be located on the filesystem of the server.
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Standard_Mode [2] http://docs.basex.org/wiki/Commands#EXECUTE