private void Upload(LocalContent local)
        {
            var entry = _entriesApi.GetEntryByPath(_bucketData.bucketId, local.GetPathInCloud);

            if (entry == null)
            {
                return;
            }
            using (var memoryStream = new MemoryStream())
            {
                using (FileStream fileStream = new FileStream(local.GetFilePath, FileMode.Open, FileAccess.ReadWrite)) { fileStream.CopyTo(memoryStream); }
                memoryStream.Position = 0;

                _contentApi.UploadContent(_bucketData.bucketId, entry.Entryid.ToString(), memoryStream);
                _windowElements.WriteLog($"Uploaded entry {entry.Path} {entry.Entryid} {entry.CurrentVersionid}");
            }
        }