Last post Mar 23, 2015 01:52 PM by Xequence
Mar 18, 2015 11:42 AM|Xequence|LINK
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))
Mar 22, 2015 09:21 AM|Kevin Shen - MSFT|LINK
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.
Mar 23, 2015 01:52 PM|Xequence|LINK
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?