I have set up a file reader channel as part of my architecture for an inbound HL7 system. It receives HL7 messages in text files to an FTP folder and is configured to pass the messages to a database writer staging channel before moving the file to a processed files folder
Except it wasn't working properly. The files were appearing in the Processed folder, but were not being removed from the FTP folder. Instead a file with the same name and a .ignore extension was appearing in the FTP folder. This worked in that the file was subsequently ignored, but was untidy...
After researching this issue I found that it is a permissions problem. I granted the Users group Full Control in the FTP folder (they only had Read and Execute) and the files are now deleted after processing.