I see the original fix was not re-opened? Please at the very least can you add a boolean to deleteLastDoneFileOnly or deleteAllDoneFiles?
In our case we need to delete all the done files after processing. We have a situation where many thousands of accounts exist on an SFTP site. Each account represented by a directory structure with multiple sub folders. each sub folder could have a new set of batch files. The number of files uploaded is not known and the done file is used to indicate that all files have been uploaded for the current batch set in the current sub folder, and are now ready to process. We iterate through all the accounts and all the sub folders of each account and need to remove the done file in each sub folder once the files have been processed (in this case removed). This serves several purposes on of which is to let the up loader know they can start uploading the next batch set. Tom -- View this message in context: http://camel.465427.n5.nabble.com/Done-file-not-deleted-tp5735497p5766387.html Sent from the Camel - Users mailing list archive at Nabble.com.