我想从中获取文件列表mikrotik
但给我错误
ApiConnection con = ApiConnection.connect("192.168.1.10");
con.login("admin", ""); // log in to router
List<Map<String, String>> results = con.execute("/file/print where name~hotspot/img");
for (Map<String, String> result : results) {
System.out.println(result);
}
错误是:
me.legrange.mikrotik.impl.ParseException: 预期 [=, <, >, !=] 但在第 35 位发现 EOL