How can I delete a File from and FTP site through workflow

I have the FTP Input setup with my different branches and settings in Workflow. Everything works well, except for the File on the FTP site doesn’t get deleted once it’s used. This will cause the service to pick it up and run multiple times, although, the files just get overwritten, a manual step is still required to go to the FTP and delete the file(s) being used.

Is there a way for the file to be deleted once it’s used?

I’ve tried the Delete output step but it doesn’t work in the various setups I’ve used.

Thanks for the help if answered.

Hello TSled,

I just did a test, and when downloading a file from FTP, it’s automatically deleted after use.

If yours do not get deleted, it sounds to me like the username you’re connecting with doe snot have permission to delete the files, only to view them, which is something that’s controlled on the FTP side.

You’ll have to contact whoever manages this FTP server so they can check the logs and see why the files are not deleted.

Regards,
~Evie

Thanks for the help Evie. My connection was via SFTP so I needed to download the SFTP/FTP plug-in and install on the workflow server. Using the SFTP input task, the file deletes no problem.

When the plug-in was installed, I just needed to find it in the “uncategorized” pane in Workflow.

Thanks!