[SalesForce] Can we delete file from SFTP Import folder after import activity

Can we delete file from SFTP Import folder after import activity?

I have an automation that picks up the file based on name. The file is uploaded frequently on SFTP import folder and I have noticed an issue.

When we upload a new file, old file is read by the automation / import activity because file name is in same format except date.

How to resolve this issue?

Best Answer

There is a custom Data Extract activity type available called "Delete File From ET FTP or Safehouse", and that will allow you delete a file from the FTP site. However, it will only allow you to delete files from Safehouse or the Import or Export folders; no other File Locations.

Related Topic