if Nmftp1.Connected then
    Nmftp1.Disconnect;
  NMFTP1.Vendor := NMOS_AUTO;
  Nmftp1.TimeOut:=50000;
  Nmftp1.Host := 'ftp://172.21.95.1/receive/'
  Nmftp1.UserID := ftpuser;
  Nmftp1.Password := ftppass;
  showmessage(NMftp1.RemoteIP);  //显示的是0.0.0.0  Nmftp1.Connect;  //在这里出错  NULL RemoteIP请各位帮忙看看,在线等待