Versions Compared


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

Table of Contents
outlinh1. true
outlinh1. true
2stylh1. none

What is the smartest way to execute a command with


YADE after a successful transfer?

The method we recommend depends on several factors:

  • With the SFTP protocol you can use the parameters
    • post_command for each file and 
    • post_transfer_commands at the end of the file transfer session. 
  • The source_ and target_ prefixes for the above parameters allow to specify different commands for the source and the target hosts.

  • Note that the SSH server has to be configured to allow JADE YADE to open a shell.

Example for using pre and post commands programmatically