Skip to content

Tag: <remote_filename> - Location of a File to Fetch from a Device

Definition

The <remote_filename> tag is used to define the location of a file that Osirium PAM should go and fetch from a device.

Note

The <remote_filename> tag only applies to SCP file copies.

It does not have any attributes but it does have a use for it's element text:

Parameters

  • Element Text (str) : This is the full path to the file that Osirium PAM will go and fetch.

Example: File Fetch

The <remote_filename> tag is used under a <command> tag with a type of scp to fetch a file. The <remote_filename> tag defines the path and filename to fetch. Substitutions can be used in the <remote_filename> tag if required.

1
2
3
4
   <command type='scp' action='retrieve'>
      <local_filename>...</local_filename>
      <remote_filename>/var/tmp/backup.tgz</remote_filename>
   </command>

And update_env command could also be used to find a filename on a device and then a substitution can be used with this filename value to fetch the file over SCP.

Parent Tags

Child Tags

  • None