This script will help you to get the RETS Metadata information from RETS Server