コード例 #1
0
 public static void main(String[] args) {
   Server server = CacheService.getServerById(2);
   UploadDataToServer uploadDataToServer = new UploadDataToServer();
   uploadDataToServer.exce(
       CommanConstant.STATE_UPLOAD_ALL,
       server,
       "D://logs//gunsoul_report",
       "/data/apps/modeltest/");
 }
コード例 #2
0
 public static void upload(String serverId, String localPath, String toPath) {
   UploadDataToServer uploadDataToServer = new UploadDataToServer();
   Server server = CacheService.getServerById(Integer.valueOf(serverId));
   uploadDataToServer.exce(CommanConstant.STATE_UPLOAD_ALL, server, localPath, toPath);
 }