I login on the machine, and directly use amulecmd -c "download 0", then I can download the file without any problem.
Without using ssh, the command works fine.
I doubt.
However, the search result is still there, if use the command:
ssh username@host 'amulecmd -c "results"'
Is it because the search result dispears after finishing last "amulecmd -c" command?
Yes.
By the way, the other commands use ssh work fine, such as:
ssh username@host 'amulecmd -c "show dl"'
So, I just doubt there is some problem for the argument 0.
Thanks.