OnlineDataNode *OnlineDataManager::downloadFileAsync(QString nodePath, QString id, OnlineDataNode::ActionFilter *filter)
{
    OnlineDataNode *dataNode = getOnlineNodeData(nodePath, id);

    if (dataNode != NULL)
    {
        dataNode->setActionFilter(filter);
        dataNode->processAction(OnlineDataNode::Download, "");
    }

    return dataNode;
}
OnlineDataNode *OnlineDataManager::createNewFileAsync(QString nodePath, QString filename, QString id) {

	OnlineDataNode *dataNode = getOnlineNodeData(nodePath, id);

	if (dataNode != NULL)
	{
		//connect(dataNode, SIGNAL(finished()), this, SLOT(newFileFinished()));
		dataNode->processAction(OnlineDataNode::NewFile, filename);
	}

	return dataNode;
}