Define a PTA in Reflection for Secure ITIf you have configured Reflection for Secure IT as your file storage server, you can add Post Transfer Actions to this server. Before you begin
To configure Post Transfer Actions in Reflection for Secure IT
ExamplesUse these examples as models for testing and configuring PTAs. Example 1: Send a directory listing to the log fileThis example sends a directory listing to the log file. The default file filter triggers the action after every upload. The program for these PTAs 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. File filter: .* Program: C:\Windows\System32\cmd.exe Arguments: /c dir "$FILE_PATH$" Note: Use the /c argument when you 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 directoryThis 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. File filter: .*\.pdf Program: C:\Windows\System32\cmd.exe Arguments: /c copy "$FULL_PATH$" c:\fxgout | ||
|