Question
Bank of America
US
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