you need to access the context property with the message..it should be
something like this
RecvFileName = OUTMSG(FTP.ReceivedFileName);
Regards,
Saravana Kumar
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog
[Please mark the response as "Answer" if it solves your problem.]