The scheduler runs and poll the directory every half-hour. The basic functions performed by the flow is to list the files in the directory and ftp those IDOC-xml files. Once the FTPing is successful, the file info is passed to the deleteFile service along with the targetDirectory. If the FTPing is not successful after several repeats the file remains in the directory to be picked up in the next run. But, for some reason few files are left invariably in the directory inspite of successful FTPing. Following is the basic structure of my service :
next record (file)
Can someone tell me what am i doing wrong? How do I fix this?