Sunday, August 6, 2023

FTP Vs File Polling

File polling:

It can be used when the files from your network or from your partners network are to be delivered to a location and if you specifiy this location in IS, then it would be like this /opt/sag/shared/in/app-xyz/working

Port Configuration at IS > security > Ports you can define a new port as an File polling and give the configuration details with polling time for monitoring the working directory and execution of a service for each polling interval(Its very important).

For each polling interval the files in the working directory were picked up kept at /opt/sag/shared/in/app-xyz/working directory for processing and after processing successfully processed files were kept at /opt/sag/shared/in/app-xyz/completed and error files were kept in /opt/sag/shared/in/app-xyz/error

FTP

It can be used often when you have an dedicated File system where the files were placed. we can do ftp by using service wmpub.cleint.ftp and define a scheduler at IS-Admin for executing ftp service at specific intervals.

Key Differences:

  •     File polling port has 4 directories each directory is used at a processing level where this cannot be found in ftp scenarios.
  •     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.

Advantages:

  •     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.
  •     Ftp has an advantage of doing several operations on documents with os commands like picking from location, placing to location put and get, File Polling port is capable of only picking the documents from a location.

You can choose based on your business requirement.

For more information, please check webmethods documentation @ https://documentation.softwareag.com/

Source: softwareag.com


No comments:

Post a Comment

How to debug a Java Service.?

Please read my previous blog on Java Service Implementation to understand basics. After you have implemented Java Service successfully and e...