调用方法示例 FtpClientfdftpclient=newFtpClient(Ip,"/flash","admin","private",21);//(ip,存放路径,用户名,密码,端口) if(fdftpclient.Connected==true) { fdftpclient.Put(upfilename); //fdftpclient.Rename(Path.GetFileName(upfilename),"firmware.fw");