How to archive multiple files in sftp directory and move those files to an other directory?

469 Views Asked by At

I have an sftp folder where 200 files will be dropped on daily basis. I need to archive these files and move them to another sftp folder in 1 shot instead of moving 1 file at time. Basically, I want to archive/move the files into a separate folder without using foreach approach of archiving and writing file by file. Is there an approach that I can follow to achieve that.

Thx

1

There are 1 best solutions below

0
aled On

The SFTP Listener source has a Move To Directory configuration to set a directory to move the files received to that directory.