Does Pega Infinity 25.x provides any supported mechanism for retrieving a file from an external SFTP server, or whether custom Java remains the only option?
Hi, you should be able to create a new repository(Pegasystems Documentation) and then use the repository apis like D_pxNewFile and D_pxGetFile.
The challenge is to first configure a secure connection to your external repository, this may require opening a few firewalls and setting up ip whitelisting etc.
There is no OOTB recurring mechanism where Pega polls an external SFTP location, performs an SFTP GET, and then places those files into the Pega Cloud repository.
For a recurring inbound file-processing requirement, the recommended approach would be:
External System → SFTP → Pega Cloud SFTP Service → Pega Cloud Repository/S3 → Pega Processing