return new File[] { dataDownloadDir, downloadDir }; // put the data dir first, I think that should take precedence
}
private boolean isServerAcceptingRequests() {
try {
OperationMode mode = LookupUtil.getServerManager().getServer().getOperationMode();
return mode == OperationMode.NORMAL;
} catch (Exception e) {
return false;
}
}