Download command doesn't work in dynamically target actions(?)

I have a very simple task that downloads a file using the download command, it works when targeting an specific list of clients but it fails when I use a dynamically target action.

the action is as simple as follows:

download http://hostname:port/dir1/dir2/file.txt

The docs only says relevance substitution is not supported but it doesn’t say anything about dynamically target actions.

I know I can use other download commands but wanted to see if someone else has the same results/issues with this command.

You are using a task and not a Fixlet?

Do you have any relevance in this task?

If so, what is it?

I tried dynamic targeting by parameter - and it worked


It is a Task, there is not really relevance. It is set as True as this is a task I need to run on every endpoint, the success criteria is set to be true when all lines executes successfully, and as I mentioned before it only fails when I deploy it with dynamic target.

That is interesting. I am doing exactly the same and it is failing.

At this point I think I will move to use another download method.

Feel free to try, but dynamically targeting the action should not have an effect on the download commands.

Are you targeting a different set of clients? Can you see requests in the logs? I wonder whether you have some clients or Relays set for direct downloads, and those in particular cannot reach the download URL?