Move File from one folder to another in sftp using API in activity
Hi,
I have a requirement of moving a file from one folder in sftp path to another in the same sftp path in case of data ingestion error. I would like to know how I can use some API to move a file using an activity from data ingestion case type.
Also, is it possible to rename a file from within an activity?
The use case is : When the data ingestion case type encounters an error while processing the file, it should either move the file to a "Failed" folder or add a suffix "_Failed" to those files. I am reading the files using File data set.
Thanks in advance,
Aniket