# Upload image on Azure blob

**URL:** <https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704>\
**Category:** Ignition\
**Created:** [October 15, 2020, 7:58am UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704 "2020-10-15T07:58:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maja](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maja](https://forum.inductiveautomation.com/u/maja)\
**Post date:** [October 15, 2020, 7:58am UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704/1 "2020-10-15T07:58:53Z")

</div>

Hi to All,

I have a request from customers to upload images to Azure blob. I am using the “upload” component in perspective. Does anybody have experience using Azure blob with Perspective? Is that at all possible?

Thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 15, 2020, 12:41pm UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704/2 "2020-10-15T12:41:38Z")

</div>

I don’t have any Azure experience, but I would expect it to have a web API for such things. Your upload event script in Perspective would use system.net.httpClient to pass the file on to Azure. Details depending on Azure’s API, of course.

You’d probably want to make a local database entry with the locator information Azure’s API gives you so you can retrieve/list the images later.

---

<div class="post-metadata">

**Author:** ![maja](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maja](https://forum.inductiveautomation.com/u/maja)\
**Post date:** [October 15, 2020, 1:23pm UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704/3 "2020-10-15T13:23:45Z")

</div>

Thank you, Phil.

I also think so.

---

<div class="post-metadata">

**Author:** ![jonas.wells](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonas.wells/32/24861_2.png) [@jonas.wells](https://forum.inductiveautomation.com/u/jonas.wells)\
**Post date:** [January 15, 2021, 8:30pm UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704/4 "2021-01-15T20:30:03Z")

</div>

Hello,

I have been trying to do something similar but am having trouble getting Ignition’s HTTP library to successfully PUT a blob into storage. Were you able to successfully do this Maja? Any tips would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![Mahesh\_Madapathi](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Mahesh\_Madapathi](https://forum.inductiveautomation.com/u/Mahesh_Madapathi)\
**Post date:** [September 19, 2023, 4:18pm UTC](https://forum.inductiveautomation.com/t/upload-image-on-azure-blob/39704/5 "2023-09-19T16:18:57Z")

</div>

You could try something using SSH File transfer protocol. I haven't done it myself but i was looing at some similar integrations. This could work.

The python standard FTPlib is included with our bundled Jython:  
[https://docs.python.org/2/library/ftplib.html](https://docs.python.org/2/library/ftplib.html)

> **[Connect to Azure Blob Storage using SFTP - Azure Storage](https://learn.microsoft.com/en-us/azure/storage/blobs/secure-file-transfer-protocol-support-how-to?tabs=azure-portal)**
>
> Learn how to enable SFTP support for Azure Blob Storage so that you can directly connect to your Azure Storage account by using an SFTP client.
