If you have configured Reflection for Secure IT as your Transfer Site file server, you can add Post Transfer Actions to this server.
Before you begin
From the Reflection for Secure IT Server console, enable debug logging to a text file.
Add your Reflection for Secure IT Server to Gateway Administrator and make it the Transfer Site server. Confirm that Transfer Sites can upload successfully to this server.
To configure Post Transfer Actions in the Reflection for Secure IT Server for Windows
From Reflection for Secure IT Server console, go to
> .Click
to create a new Post Transfer Action.For information about configuring Examples that follow.
, , and , refer to the dialog box help and theSave your settings (
> ).Use these examples as models for testing and configuring Post Transfer Actions in a Reflection for Secure IT Server for Windows.
Example 1: Send a directory listing to the log file
This example sends a directory listing to the log file. The default file filter triggers the action after every upload. The program for these Post Transfer Actions must be specified using the full path; in this example it is the path to the Windows cmd command. The $FILE_PATH$ token is used to get the listing of the upload directory. Because the destination directory might include spaces, this token is enclosed in double quotation marks.
.*
:C:\Windows\System32\cmd.exe
:/c dir "$FILE_PATH$"
:NOTE:Use the /c argument when you use the Windows cmd command. This switch specifies that cmd should exit after the specified command is carried out.
Example 2: Copy uploaded PDF documents to specified directory
This example copies uploaded PDF files to an existing destination directory. The file filter uses a regular expression to specify all files with a .pdf file extension.
C:\Windows\System32\cmd.exe
:/c copy "$FULL_PATH$" c:\out
: