Run Program Plugin
This feature is available in the Enterprise Edition of SmartFTP.
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\your.ps" {Operation} {Type} {State}
You can use the KB: Transfer Queue Item Variables for the command line arguments.
Example
{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