inpd.setMessage("Folder deleting...");
FileSystemUtils.deletePrivateFile();
if(DeleteManager.deleteFolder(userId, parentPath, token.folderIdDB, folderName)) {
ResponseManager.retrieveCommunication(parentPath, ServerPrimitives.OE_SUCCESSFUL);
}
tokenFile.deleteFolder(folderName);
OverEncryptRequest.generateRequest(ClientPrimitives.OE_DELETE_FOLDER, OverEncryptRequestType.UNLOCK, userId, parentPath);
inpd.dispose();
JOptionPane.showMessageDialog(null, "Folder deleted");
}
}