Package org.syncany.plugins.transfer.files

Examples of org.syncany.plugins.transfer.files.MasterRemoteFile


    // Run!
    uploadDownloadListDelete(transferManager, tempFromDir, tempToDir, SyncanyRemoteFile.class,
        new SyncanyRemoteFile[] { new SyncanyRemoteFile() });

    uploadDownloadListDelete(transferManager, tempFromDir, tempToDir, MasterRemoteFile.class, new MasterRemoteFile[] { new MasterRemoteFile() });

    uploadDownloadListDelete(transferManager, tempFromDir, tempToDir, DatabaseRemoteFile.class, new DatabaseRemoteFile[] {
        new DatabaseRemoteFile("database-A-0001"), new DatabaseRemoteFile("database-B-0002") });

    uploadDownloadListDelete(transferManager, tempFromDir, tempToDir, MultichunkRemoteFile.class, new MultichunkRemoteFile[] {
View Full Code Here


      throw new Exception("Unable to connect to repository.", e);
    }
  }

  private void uploadMasterFile(File masterFile, TransferManager transferManager) throws Exception {
    transferManager.upload(masterFile, new MasterRemoteFile());
  }
View Full Code Here

      return false;
    }
  }

  private SaltedSecretKey askPasswordAndCreateMasterKey() throws CipherException, StorageException {
    File tmpMasterFile = downloadFile(transferManager, new MasterRemoteFile());
    MasterTO masterTO = readMasterFile(tmpMasterFile);

    tmpMasterFile.delete();

    String masterKeyPassword = getOrAskPassword();
View Full Code Here

TOP

Related Classes of org.syncany.plugins.transfer.files.MasterRemoteFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.