Hi Sarvjeet,
You can download and delete the file immediately using Adobe Campaign.
If you wish to do it after few days by checking all files older than X days and then deleting them, it will not be possible.
You can try and do this
1. Download the Files from external sFTP using File Transfer activity.
2. Configure this activity to delete the file from external sFTP as soon as the download has completed.
3. The download path of the file on Step 1 should be Adobe Campaign sFTP.
4. You can then make use of Campaign API and JS codes to delete older files.
Regards,
Vipul