ftpClient = new FtpClient(); ftpClient.openServer(ip, port); ftpClient.login(user, password); 先连接 登录,后可以调用方法 下载文件 删除文件 等等