Knowledge Base

  1. Home
  2. Features
  3. Post Process Plugin

Print Article

Article 2729

Post Process Plugin


This feature is available in the Enterprise Edition of SmartFTP.

Enable Plugin in Global Settings

  1. Start SmartFTP
  2. Go to the menu: File - Settings
  3. The settings dialog opens
  4. Go to the Transfer - Queue - Plugins dialog
  5. Select and enable the Post Process plugin the list of plugins
  6. Click OK to save the changes

Enable Plugin in Favorite Settings

  1. Go to the Favorite Properties
  2. Go to the Transfer - Queue - Plugins dialog
  3. Select and enable the Post Process plugin the list of plugins
  4. Right-click on the plugin, select Properties
  5. Select the Executable
  6. Enter the Arguments that are passed to the executable.
  7. Click OK to save the changes


If you want to run a batch file (.cmd, .bat) enter the following:
Executable: C:\Windows\System32\cmd.exe
Arguments: /C "c:\path\to\your.cmd" {Operation} {Type} {State}

To run a powershell script:
Executable: C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe
Arguments: -File "c:\path\to\" {Operation} {Type} {State}

Variables in Arguments

You can use the KB: Transfer Queue Item Variables for the command line arguments.


{Operation} {Type} "{Destination.Path}"

For a copy operation of a file to c:\temp\test.txt, the variables will be replaced as following:
1 1 "C:\temp\test.txt"

The first 1 stands for the {Operation} which is Copy (numeric: 1). The 2nd 1 is for {Type} which is File (numeric 1).

queue plugin

Related Articles

What do you think about this topic? Send feedback!