bug fix for reading erg file that use FTP instead of WATTS