External Account SFTP access | Community
Skip to main content
sarvjeets944335
October 20, 2018
Solved

External Account SFTP access

  • October 20, 2018
  • 5 replies
  • 4075 views

I need to delete files which are older than few days from external account SFTP. I want to implement this in a workflow. Any pointers?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vraghav

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

5 replies

vraghav
Adobe Employee
Adobe Employee
October 21, 2018

Hi sarvjeets94433516,

Please confirm if the request is for ACC or ACS?

the sFTP is Adobe provided or an external one?

Regards,
Vipul

sarvjeets944335
October 22, 2018

Hi Vipul,

It is for AC Classic and SFTP is external one.

Thanks

Sarvjeet

pablo_rosero1
Level 9
October 29, 2018

Hi Sarvjeet,

Be sure to post on the Campaign Classic forums next time

Moving your post there for an answer.

Vipul Raghav​ Can you please respond?

Thanks,

Pablo

vraghav
Adobe Employee
vraghavAdobe EmployeeAccepted solution
Adobe Employee
October 29, 2018

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

November 17, 2021

Hi Sarvjeet,

Did you able to delete files from SFTP using workflow??

If you did can You explain the procedure please.

 

Thanks,

Prameya