/// <summary> /// 合成ftp远程全路径名 /// </summary> /// <param name="filename">文件名,可带相对路径</param> /// <returns></returns> public string GetFtpPathfile(string filename) { string remotePathfile = @"ftp://" + Ip + Kits.GetDashPathname(RemoteDirectory, filename); return(remotePathfile); }