skip to Main Content

Copy Azure blob content to local server with specific structure

I want to copy Azure blob content to local server https://<blob>/prod/backup/node1 -> f:backupcluster https://<blob>/prod/backup/node2/<RandomFolderName>/forests/* -> f:backupclusterforests https://<blob>/prod/backup/node3/<RandomFolderName>/forests/* -> f:backupclusterforests I want final folder structure on server to be: f:backupcluster f:backupclusterforests<forest2-content-folder> f:backupclusterforests<forest3-content-folder>

VIEW QUESTION

Azure – BlobClient#generateSasUrl automatically %-encode blob path

const { BlockBlobClient, BlobSASPermissions } = require("@azure/storage-blob"); const blobClient = new BlockBlobClient( "DefaultEndpointsProtocol=https;AccountName=yyyy;AccountKey=xxxx;EndpointSuffix=core.windows.net", "test", "hoge/huga/baz.txt" ); const expiresOn = new Date(); expiresOn.setMinutes(expiresOn.getMinutes() + 5); const h = blobClient.generateSasUrl({ expiresOn, permissions: BlobSASPermissions.from({ read: true })}).then((res) => { console.log(res); }); Executing this…

VIEW QUESTION

how to Skip Api Version Check for Azure blob storage in .NET Aspire

I'm running Azure blob storage by Aspire var builder = DistributedApplication.CreateBuilder(args); var blobs = builder.AddAzureStorage("storage") .RunAsEmulator() .AddBlobs("blobs"); builder. Build().Run(); var objectStorageApi = builder.AddProject<Projects.ObjectStorage_Api>("ObjectStorageApi") .WithReference(blobs); the problem is when my client creates a blob container or something to the blob it…

VIEW QUESTION
Back To Top
Search