Question

3
Replies
807
Views
Taw Sern Tan (TawSernTan)
M1 Ltd

M1 Ltd
SG
TawSernTan Member since 2015 40 posts
M1 Ltd
Posted: April 22, 2019
Last activity: October 12, 2019
Posted: 22 Apr 2019 5:05 EDT
Last activity: 12 Oct 2019 8:48 EDT
Closed

FTP to and from Server

Hi,

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 Enterprise Application Development Dev/Designer Studio Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.