Last activity: 3 Dec 2021 12:33 EST
Push file to On-Prem location from Pega SFTP location automatically
We are working on a Hybrid-Cloud Pega application, where we need a file transfer process from Pega Cloud location to On-Prem file repository. The business use case is to generate a file in Pega hosted cloud and as soon as its created, the file needs to be moved into a secure on-prem directory/location.
Please let us know if the following approach works well, or if there is any alternate optimized approach.
- Create an FTP Server instance with hostname
- From activity invoke Connect-FTP method to move the file from local server to remote server as designated in FTP instance.
- Use authentication profile to ensure security.
Additionally let's say if the file has been generated in application repository which is mapped to an Amazon S3 location, can we still use the Connect-FTP method to move the file from that S3 repo to on-prem remote SFTP? The Connect-FTP method asks for "Local file path", whenever we tried to access the file from the S3 repository path, the exception was thrown as "file not found". Is there any specific configuration that needs to be done?
Is there any job which can configured to automatically transfer the files to On-Prem SFTP location (instead of doing it programmatically)?