Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you use an FTP connection then the command parameters should include FTP commands.
For an SFTP connection the SSH channel is used. Make sure that it is allowed to use the SSH channel. Then the command parameter can include shell commands.

For SMB the command will be executed on the machine where the client is running.

  • "$TargetFileName" is a variable name (place holder) for the current target file.

...

Code Block
languagebash
titleExample for SFTP on a Unix target host to decompress a gzip-compressed file after transfer
 target_post_command=gzip -d \$TargetFileName