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.