Ensure that a file or directory is copied from a policy server.

⚙️ Compatible targets: Linux

⚠️ Deprecated: This method is deprecated and should not be used.


sourceSource file (absolute path on the policy server).

This parameter is required.
pathDestination file (absolute path on the target node).

This parameter is required.


method: file_copy_from_remote_source
  source: VALUE
  path: VALUE


Note: This method uses the native agent copy protocol, and can only download files from the policy server. To download a file from an external source, you can use HTTP with the file_download method.

This method requires that the policy server is configured to accept copy of the source file from the agents it will be applied to.

You can download a file from the shared files with: