deploying single folder to azure website RRS feed

  • Question

  • User1080785583 posted

    How can I publish a folder with 4GB of files in it to azure separately from original deployment? I am doing this with code but I would like to maybe convert a block blob list of files back to a azure website file location...

    CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
                // Retrieve reference to a previously created container.
                CloudBlobContainer container = blobClient.GetContainerReference(Name);
                // Retrieve reference to a blob named "myblob".
                CloudBlockBlob blockBlob = container.GetBlockBlobReference("jellyfish.jpg"); 
                var loc = Directory.GetCurrentDirectory() + @"/App_Data/Jellyfish.jpg"; 
                // Create or overwrite the "jellyfish.png" blob with contents from a local file.
                using (var fileStream = System.IO.File.OpenRead(loc))

    Wednesday, March 18, 2015 11:42 AM

All replies

  • User1918509225 posted

    Hi Xequence,
    Thanks for your post here.
    Based on my understanding,it seems that you can not deploy one single folder with multiple files inside it.
    You still need to upload it to blob one by one.

    Best Regards,
    Kevin Shen.

    Sunday, March 22, 2015 9:21 AM
  • User1080785583 posted

    thanks. do you know if there is a way to zip 4gb of PDF and upload to azure and run package on blob to extract .zip?

    Monday, March 23, 2015 1:52 PM