blobstorage

Batch Uploading Huge Sets of Images to Azure Blob Storage

僤鯓⒐⒋嵵緔 提交于 2019-12-20 12:38:31
问题 I have about 110,000 images of various formats (jpg, png and gif) and sizes (2-40KB) stored locally on my hard drive. I need to upload them to Azure Blob Storage. While doing this, I need to set some metadata and the blob's ContentType, but otherwise it's a straight up bulk upload. I'm currently using the following to handle uploading one image at a time (paralleled over 5-10 concurrent Tasks). static void UploadPhoto(Image pic, string filename, ImageFormat format) { //convert image to bytes

Cloud storage and secure download strategy on app engine. GCS acl or blobstore

耗尽温柔 提交于 2019-12-19 03:38:17
问题 My appengine app creates cloudstorage files. The files will be downloaded by a third party. The files contain personal medical information . What would be the preferred way of downloading: Using a direct GCS download link with a user READER acl. Or using a blobstore download handler in an appengine app. Both solutions require the third party to login (google login). Performance is not an issue. Privacy and the occurrence of security errors and mistakes are. Using an encrypted zip file to

How can upload files to Azure Blob Storage from web site images?

老子叫甜甜 提交于 2019-12-13 22:39:28
问题 How can upload file to Azure Blob Storage from www.site.com/amazing.jpg ? Multiple upload files to Azure Blob Storage from urls. I cant find this way. I tried many way unsuccesful :( thank you for help 回答1: It's actually pretty simple and you can ask Azure Storage to do the work for you :). Essentially what you have to do is invoke Copy Blob operation. With this operation, you can specify any publicly accessible URL and Azure Storage Service will create a blob for you in Azure Storage by

uploading image to azure blob storage

瘦欲@ 提交于 2019-12-12 20:16:29
问题 I know this question can be interpreted as a duplicate, but I can simply not get the blop service working. I have followed the standard example on msdn. I have implemented in my code but followed the example. I can get my MobileService, with the supplied script in the example, to insert a blob with open properties. I then use this code to upload an image to the blob storage: BitmapImage bi = new BitmapImage(); MemoryStream stream = new MemoryStream(); if (bi != null) { WriteableBitmap bmp =

Azure Blob Storage Upload Error: (403) Forbidden

独自空忆成欢 提交于 2019-12-11 05:14:22
问题 We have created a new process to upload files to our Azure blob. When running the app locally, the files upload fine and without error. When we run the same process on our server, we get the error message: MESSAGE: Forbidden: header 'Content-Type' value denied SOURCE: Microsoft.WindowsAzure.StorageClient TARGETSITE: T get_Result() STACKTRACE: at Microsoft.WindowsAzure.StorageClient.Tasks.Task 1.get_Result() at Microsoft.WindowsAzure.StorageClient.Tasks.Task 1.ExecuteAndWait() at Microsoft

Cleanup unused blobs in filestorage in Plone

≡放荡痞女 提交于 2019-12-11 01:20:44
问题 Is there a way to find and remove unused blob storage space in a Plone site? I'm looking for something like bin/zeopack , but that detects unused blobs in the blobstorage directory. 回答1: The ZODB takes care of unused blobs by itself. Packing will remove blobs together with removed transactions as required. 来源: https://stackoverflow.com/questions/13938983/cleanup-unused-blobs-in-filestorage-in-plone

Delete folder(s) inside Azure Blob storage container

人盡茶涼 提交于 2019-12-10 04:08:23
问题 I have a container named "pictures" , and have some folders named "Folder1", "Folder2" inside of it. So files of my blob will be addressed like this "http://optimus.blob.core.windows.net/pictures/Folder1/IMG123.png" . Using the below C# code to delete the files inside folders, CloudStorageAccount storageAccount = CloudStorageAccount.Parse(*AzureConnectionString*); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient

What is the correct way to backup ZODB blobs?

扶醉桌前 提交于 2019-12-10 03:58:04
问题 I am using plone.app.blob to store large ZODB objects in a blobstorage directory. This reduces size pressure on Data.fs but I have not been able to find any advice on backing up this data. I am already backing up Data.fs by pointing a network backup tool at a directory of repozo backups. Should I simply point that tool at the blobstorage directory to backup my blobs? What if the database is being repacked or blobs are being added and deleted while the copy is taking place? Are there files in

How to store wxImage into database, using C++?

核能气质少年 提交于 2019-12-08 13:45:00
问题 I have some wxImages and I would like to store them into a BLOB (Binary Large OBject) field in a MySQL database. There are no methods in wxImage nor wxBitmap for obtaining the binary data as an array of unsigned char so I can load into the database. My current workaround is to write the image to a temporary file, then load the BLOB field directly from the file. Is there a more efficient method to load and store a wxImage object into a MySQL BLOB field? I am using MySql C++ connector 1.05, MS

Azure Blob storage vs Azure Drive

隐身守侯 提交于 2019-12-05 09:42:16
问题 I am looking at moving to Windows Azure rather than typical hosting however I'm unsure how best to store images. After searching I've found that there are 2 possible solutions - Blob storage or Azure drive. I have looked into Blob storage and although I have begun to get used to the idea it will require quite a lot of modification to our CMS. In my searching I have just stumbled across Azure Drive which if I understand correctly creates a virtual hard drive which allows your application to