A problem with a ftpservice

Hi!

I have a small problem. I use BC 4.6 to get EDI files from our clearinghouse, the schedule is set so it get the files every 10 minutes

The problem is if there is no file to get, I get 2 errormessages in my mailbox, because the service crashes. This means I get a lot of errormessages in my mailbox…

I tried to use a cdls service (pub.client.ftp.cdls) to search for the incomming file (&orders.edi). This worked just fine until there was a message to get, then it couldn’t find the file.
So, I didn’t get any files at all.

I thought this was the way to solve it, but it wasn’t.
Has anybody a way to solve this? A java-service or something else?

Thx!

rollo