The CLI basexclient uses the same client api as other clients found here yes? https://docs.basex.org/wiki/Clients
from basexclient CLI >BINARY GET lib/example.jpg as expected, returns the jpg I PUT from there from my client app. However, the same command BINARY GET from my client app, using COMMAND {command} {result} {info} \00 does not return the jpg. The bytes going to the basex server, at least the command 'BINARY GET lib/example.jpg' part are identical in both cases.