angular-azure-blob-service
angular-azure-blob-service copied to clipboard
blob uploading successfully but creting folder insted of image
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.
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