Create an IData JavaService with output content like this:
IDataHashCursor pipc = pipeline.getHashCursor();
pipc.first();
String content = (String) pipc.getKey();
pipc.insertAfter(“content”, content);
Use this service as the first step in a flow service that processes your FTP content
Files with extension .txt can now be sent to the flow service.
For other possible extensions check mime.types in the /lib directory
If you edit mime.types to add your custom types, you need to restart the IS for the changes to take effect.
Good Luck
#Integration-Server-and-ESB#webMethods-General#webMethods