The batchFTP function isn’t intended to be invoked from a rule. It should be used on a scheduled basis only, associated with a TN public queue. The batchFTP service will deliver all the documents that have been queued in a given queue.
If you want to FTP one document at time, then just use the FTP delivery service, not batchFTP.
IMO, the usual way of doing this is to separate the transformation from the delivery. One rule to transform the XML to a FF, another to deliver or queue the FF (or any other type of doc). Don’t combine transformation and delivery in a single IS service–too limiting and inflexible.
I don’t think you need a custom delivery service for this. I think the out-of-box facilities will do what you need.
#B2B-Integration#webMethods#Integration-Server-and-ESB