Tim,
Thanks for your reply.
We may have to implement as you have suggested. I thought it would be nice if we can control the logic within webMethods. To start another thread and invoke sftp script and etc. from webMethods may not be necessary if webMethods has no control, most of the control, as far as sftp error handling and etc. Certainly, we can use different notification mechanism to communiction between script and webMethods. We may just do the entire transaction using scripting on the server level or running a standalone java application.
We have not decided the final architecture yet.
Wilfred
#webMethods#Integration-Server-and-ESB#webMethods-General