Deleting multiple files at once from SFTP folder
Hello,
I have a process where the files needed to be deleted from the SFTP folder after the files are copied and processed.
At a given point of time there could be hundreds of files and after copying and processing these files, I have a separate process that deletes all these files from a SFTP folder using the "File Delete" Snap. The limitation if this snap is that it will delete one file at a time and if there are hundreds and thousands of files in the SFTP folder, it takes few mins to delete all files one by one.
I am wondering if I can use any other Snap that would delete all the files at once under a given folder. Please advise.
Thanks
Aravind N
arvindnsn - I tried with a sample pipeline that generates 6 files over the SLDB and the performance is pretty good. It took ~1.5 mins for completion.
I didn't connect to SFTP but just to add complexity on the same lines, I added an email snap that sent me a copy of those files, screenshots below:I have used the innate FileDelete snap for deleting multiple files at once (which does process files one by one)
I do agree that if you're having a huge volume, this process would have to run over the weekend. Please lemme know your volume and frequency of this run to understand the issue in detail and whether we can scale up the solution.Thanks.
Best Regards,Darsh