sharedfile_from_node

This method retrieves a file shared from another Rudder node.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
remote_nodeWhich node to take the file from.

This parameter is required.
file_idUnique name that was used to identify the file on the sender.

This parameter must match ^[A-z0-9._-]+$.
This parameter is required.
file_pathWhere to put the file content.

This parameter is required.

Example

method: sharedfile_from_node
params:
  remote_node: VALUE
  file_id: VALUE
  file_path: VALUE

Documentation

This method retrieves a file shared from a Rudder node using a unique file identifier.

The file will be downloaded using native agent protocol and copied into a new file. The destination path must be the complete absolute path of the destination file.

See sharedfile_to_node for a complete example.