added by wangliang for ftp download program