Configuring the WS_FTP server to use the FTP agent

To enable the WS_FTP server to communicate with the IBM® Control Center FTP Agent, you must configure the WS_FTP server to execute the IBM Control Center batch file, notifySCC.bat, when it performs actions on files, such as uploading, downloading, and deleting.

To configure WS_FTP, you set up and name a Folder Action Rule, such as SCCWsFtpAgent, and specify more information for that Folder Action Rule to tell it how it is going to work with IBM Control Center.

If you have a high availability environment, you must configure the WS_FTP to send traps to the active event processor. This event processor might be the controller event processor. If the active event processor fails, you must reconfigure the server to send traps to the new controller event processor. You lose traps if you do not reconfigure the server.

Important: The WS_FTP configuration steps in this procedure are based on the most current release of WS_FTP that was available at the time of this publication. An earlier version of WS_FTP was configured a different way, by setting up a Program Notification, and then creating a rule to execute the Programs Notification when files are uploaded, downloaded, deleted, etc. In a future release of WS_FTP, there may yet be another way to configure the server. Therefore, to determine how to configure WS_FTP, consult the documentation for the version of WS_FTP you are using, in conjunction with the following steps.
To configure the WS_FTP server to use the FTP agent:
  1. To send notifications for all actions that the WS_FTP performs on files, select all FTP events that you want IBM Control Center to monitor in the Rules Notifications section. For example, Upload, Download, or Delete.
  2. To instruct the WS_FTP server to execute the IBM Control Center notifySCC.bat batch file when it sends a notification, browse to the notifySCC.bat file in the directory where the IBM Control Center FTP Agent is installed, and select for the Executable.
  3. To pass the parameters IBM Control Center needs to monitor the WS_FTP server when the WS_FTP server sends a notification, type %Event %User %Status %File for the Arguments.
    Important: Ensure that you type the parameters in the order that is specified for the Arguments field. These parameters must be in that exact order and are case-sensitive.