ファイルリストを取得したいのです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 が見つかりました