Specifying a command for a file share

  1. In the configuration console, open the connection node and select the file share.
  2. In the File Share view, specify this information:
    Executable
    Specify the command to be executed after the file has been published to the share. You can specify the command manually, or use the Browse button to find and select a command.
    Arguments
    Specify the command line arguments for the specified command executable. You can use the "$file" placeholder for the file name of the published file.
    Run commands one at a time

    If this check box is selected, commands are executed sequentially if multiple files are processed simultaneously.

    If this check box is cleared, commands are executed in parallel if multiple files are processed simultaneously.

    Select this check box if the selected executable cannot be run multiple times in parallel.

    Delete file after executing command
    If this check box is selected, the file is removed from the file share if the command line exits successfully. A zero exit code of the command is interpreted as success. A non-zero exit code is interpreted as failure. Files are only removed if a command is performed on them.
    Stop the command if running longer than...
    If this check box is selected, the command is terminated if it has not completed after the amount of time specified in the minutes box. Use this to prevent hanging processes.
    If this check box is cleared the command keeps running until it is completed.