<remote_filename> - Location of a File to Fetch from a Device
<remote_filename> tag is used to define the location of a file that the PxM Platform should go and fetch from a device.
<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:
- Element Text (str) : This is the full path to the file that the PxM Platform will go and fetch.
Example: File Fetch
<remote_filename> tag is used under a
<command> tag with a type of
scp to fetch a file.
<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
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.