I am listening on a tcp/ip port for this other system(vendor) to send a file. I don't know how long the file is, only that
"at the end of the file will be a carriage return AND a line feed. "
Would I just check the last two chars = chr(13) and chr(10)
if right(lcData)=chr(13)+chr(10)
else
endif
Thanks for any help