Register or Login to Your Account
We have a requirement to pickup some files and process at our webMethods Integration Server, the files were being delivered to our webMethods local folders/directories. Now i want to make a decision for picking up those files using FTP or Filepoller.
Can anybody tell me the actual Difference between webMethods FTP and webMethods Filepolling, In which scenario we use file polling and in which scenario we use ftp? and what is differences and advantages?
You can use both based on your infrasturcture setup, requirements, server configuration and performance.
In our project we have some flows where we receive files from our network delivered to our wM box and we pickup those files using File polling after which we deliver those files within our network or outside networks using FTP.
[b]File polling and FTP Scenarios[/b]
File polling can be used when the files from your network or from your partners network are being delivered to be delivered to a location and if you specifiy this location in IS, then it would be like this /opt/softwareag/shared/test/in/application-name/mon. This scenario is called File polling port. Configuration at IS -> security -> Ports you can define a new port as an File polling and give the configuration detials with polling time for monitoring the mon directory and execution of a service for each polling interval.
For each polling interval the files in the mon directory were picked up kept at /opt/softwareag/shared/test/in/application-name/work directory for processing and after processing successfully processed files were kept at /opt/softwareag/shared/test/in/application-name/done and error files were kept in /opt/softwareag/shared/test/in/application-name/error
[b]Further details for configuring file poller port can be found at: [/b]
webMethods Integration Server Administrator’s Guide
In ftp(File transfer protocol) used often when you have an separate File server where the documents were placed. we can do ftp by using service wmpub.cleint.ftp and define a scheduler at IS if we want to run ftp service at defined intervals.
1) File polling port has 4 directories each directory is used at a processing level where this cannot be found in traditional ftp scenarios.
2) File polling port comes with a default scheduler which we have to configure where in ftp we have to configure scheduler manually for processing documents.
1) File polling port has the advantage of picking up documents from IS itself where as ftp often uses connecting to other server for picking up documents.
2) Ftp has an advantage of doing several operations on documents with os commands like picking from location, placing to location put and get, File poller port is capable of only picking the documents from a location.
I would rather prefer picking up the files using File polling and delivering the processed files via MQ instead of FTP because of the limitations which we have with FTP.