SFTP deletes files automatically once processed | Community
Skip to main content
Level 3
January 15, 2018
Solved

SFTP deletes files automatically once processed

  • January 15, 2018
  • 6 replies
  • 12414 views

If the SFTP location has multiple files, All files are picked up at one go and once picked for processing, they are removed from the SFTP folder.

Is there any way we can stop auto deletion?

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 ramakatt

Hi Gunjan,

If you are using File Transfer, you can follow the below process.

file_transfert_edit.png

The Advanced parameters... link lets you access the following options:

file_transfert_advanced.png

Delete the source files after transfer- Uncheck this option

Thanks,

Rajesh

6 replies

ramakattAdobe EmployeeAccepted solution
Adobe Employee
January 15, 2018

Hi Gunjan,

If you are using File Transfer, you can follow the below process.

file_transfert_edit.png

The Advanced parameters... link lets you access the following options:

file_transfert_advanced.png

Delete the source files after transfer- Uncheck this option

Thanks,

Rajesh

Level 3
January 16, 2018

Hi Rajesh,

Thank you for relying. What if we are using File Collector.

Also, could you tell me the difference between the functionalities of file transfer and file collector.

Adobe Employee
January 16, 2018

Hi Gunjan,

The File collector monitors the arrival of one or more files in a directory and activates its transition for each file received.

The File transfer activity lets you receive or send files, test for file presence, or list files on a server. The protocol used is either Amazon Simple Storage Service (S3), FTP or SFTP.

Other details about File collector and File Transfer can be found at the below link.

Event activities

I will check and get back to you, if there is an option not to delete the file after processing, for File Collector.

Thanks,

Rajesh

Level 2
January 17, 2018

As of my knowledge. The file won't get deleted. The file collector moves the file from source location to a different location(I forgot the exact path). You can do a work around and find the path of the file and copy it back using shell script.

Thanks

Level 3
January 17, 2018

Thanks Rajesh! I used File Transfer instead of file collector and now, the files are not getting deleted.

Adobe Employee
January 17, 2018

Good to hear!

Thanks,

Rajesh