Shruti Gupta (ShrutiG6684)
Bank of America

Bank of America
ShrutiG6684 Member since 2019 5 posts
Bank of America
Posted: May 6, 2020
Last activity: May 7, 2020
Posted: 6 May 2020 21:44 EDT
Last activity: 7 May 2020 2:01 EDT

SFTP multiple files at once using connect-ftp

I was able to connect and sftp a file from one server location to another using Connect-FTP and using FTP Server data instance.

But this only transfers one file at a time. Is there any way in pega to transfer multiple files at once from one server location to another or we have to write Java code to loop and pull multiple files. 

Because in local path I was not able to give syntax like /path1/path2/Doc*.txt instead I had to specify exact file name like /path1/path2/Doc.txt to save rule form without syntax error.

Also is there any way i dont have to give exact file name because i have filename that has date in it and it changes everyday so i cant hardcode a file name like above.

If we have to write java code, can you please guide any java code pega OOTB already have or from some other source

Pega Platform 8.1.5 Data Integration Java and Activities Financial Services Senior System Architect
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.