If your Green Zone is set up for SSH, you can create an FTP Poller in the OAG Red Zone instance which can then point to the directory on the source box where the file would be originally located. A poller has the ability to set up the time between polls, and can access a policy when activated. This policy would use a Save to File filter which would write the contents received by the poller to a file on the file system of the Red Zone machine.
If you do not need to use a poller, you can do the activity entirely in a policy. The policy would contain a File Download filter initially, which would have the same setup as the FTP Poller would have, except it would not be called on a timer. Then, on the Success path, you would connect to a Save to File filer, as suggested in the first approach that would save the file to the file system of the Red Zone machine. This could then be set up on a virtual path which would then be called whenever a transfer is needed.
The documentation for the FTP Poller can be found here:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/general_ftp_scanner.html
The documentation for the Save to File filter is at the following URL:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/connection_save_to_file.html
The documentation for the File Download filter is located at the following URL:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/connection_ftp_download.html
If you do not need to use a poller, you can do the activity entirely in a policy. The policy would contain a File Download filter initially, which would have the same setup as the FTP Poller would have, except it would not be called on a timer. Then, on the Success path, you would connect to a Save to File filer, as suggested in the first approach that would save the file to the file system of the Red Zone machine. This could then be set up on a virtual path which would then be called whenever a transfer is needed.
The documentation for the FTP Poller can be found here:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/general_ftp_scanner.html
The documentation for the Save to File filter is at the following URL:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/connection_save_to_file.html
The documentation for the File Download filter is located at the following URL:
https://docs.oracle.com/cd/E55956_01/doc.11123/user_guide/content/connection_ftp_download.html
No comments:
Post a Comment