i often get this DCC Send of test.txt to *****: Unable to open file

What i need is to know how to echo to myself and the other person that this file does not exsist.

Any Help would be appreciated.