Q:

How to configure a fte ant script so it can perform few task before file transfer

can any one please suggest me some good sites so i can learn how to use FTE & FTE ant script. Basically i want to wite ant script to perform few task before file tranfer.

A:

I resolved it .. below is the solution for reference:
<request version="1.00" xsi:noNamespaceSchemaLocation="FileTransfer.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <managedCall>
      <originator>
         <hostName>X.com</hostName>
         <userID>X</userID>
         <mqmdUserID>X</mqmdUserID>
      </originator>
      <agent QMgr="X" agent="X"/>
      <reply QMGR="X">reply</reply>
      <transferSet priority="1">
         <metaDataSet>
            <metaData key="com.ibm.wmqfte.SourceAgent">X</metaData>
            <metaData key="com.ibm.wmqfte.DestinationAgent">X</metaData>
         </metaDataSet>
         <call>
            <command name="X.xml" type="antscript" retryCount="2" retryWait="30" successRC="0">
               <target>X</target>
               <property name="trigger.filename" value="${FileName}"/>   

            </command>
         </call>
      </transferSet>
      <job>
         <name>X</name>
      </job>
   </managedCall>
</request>

