-
Hi! This time I'm focusing on RTR commands and I have some doubts. I'm using the Real Time Response service collection, specifically the BatchGetCmd. I have the following doubts:
Sorry for the amount of questions. Thanks in advanced! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @alexgumo7! Taking your questions in order. 😄
Can you give me an example file path / file name and then a sample of the code you're executing? I believe the issue is related to how the filename is being passed to the API (i.e. like you point out, perhaps swapping your single quotes and double quotes, or escaping the space on the command line) but can't be sure until I try and recreate it.
You are connecting to this environment as SYSTEM (or root) and do not have the entire environment profile available to you, so depending on the scenario some environment variables will not work.
Get currently only supports retrieving a single file. For scenarios like this, I would recommend archiving the target folder (or files) and then retrieving the archive file.
BatchGetCmdStatus returns every file in the batch, so you should be able to call it once and check for all the files you requested. |
Beta Was this translation helpful? Give feedback.
Hi @alexgumo7!
Taking your questions in order. 😄
Can you give me an example file path / file name and then a sample of the code you're executing? I believe the issue is related to how the filename is being passed to the API (i.e. like you point out, perhaps swapping your single quotes and double quotes, or escaping the space on the command line) but can't be sure until I try and recreate it.