angular-azure-blob-service icon indicating copy to clipboard operation
angular-azure-blob-service copied to clipboard

blob uploading successfully but creting folder insted of image

Open vikas-palve93 opened this issue 4 years ago • 1 comments

image (1) Please see the above image. I have uploaded blob data but it is creating an empty folder every time. It should create an image file.

vikas-palve93 avatar Apr 13 '20 17:04 vikas-palve93

Hi, maybe you made the same mistake I made. The sas you have to use is:

Config: UploadParams = { sas: '?sv=2015-30-11&sws=b&sert=seco&rsp=rwl4ac&se=2120-02-31T44:52:54Z&st=2021-04-32T06:23:54Z&spr=https&sig=DFDFokreTERTGdgfijdigdg##!!', storageAccount: '*****', containerName: '*******' };

and not the full address (like this: https://pluto.blob.core.windows.net/?sv=2015-30-11&sws=b&sert=seco&rsp=rwl4ac&se=2120-02-31T44:52:54Z&st=2021-04-32T06:23:54Z&spr=https&sig=DFDFokreTERTGdgfijdigdg##!!)

Hope this helps, bye Ennio

enniobolondi avatar May 03 '20 20:05 enniobolondi