Close popover
Taw Sern Tan (TawSernTan)
M1 Ltd

M1 Ltd
TawSernTan Member since 2015 40 posts
M1 Ltd
Posted: April 22, 2019
Last activity: October 12, 2019

FTP to and from Server


I have tried hunting around for solution but I am not able to come to know how to achieve it.

We are running on Pega Platform 7.3 and Pega Marketing 7.22.

We need to regularly SFTP to and retrieve from a remote server, so that we are able use the data in our Campaign. I do hope to use the OOTB functions to perform the whole task, instead of writing Java.

1) When I use the "Connect-FTP" method in the agent, it seems that I can only "put" file to the remote server, and the filename has to be fixed; I cannot FTP file with dynamic file name.
a) How do I SFTP a file of dynamic file name to the remote server?
b) How shall I SFTP a file from the remote server using this method?
2) How do I specify what file(s) to put/get?
3) For the case of retrieval, how do I retrieve only the latest file; the file contains datetime stamp?

Hope to hear some advises soon.

***Edited by Moderator: Pallavi to update platform capability tags***

Pega Marketing Pega Platform Low-Code App Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post