{"id":7490,"date":"2025-01-08T05:58:56","date_gmt":"2025-01-08T05:58:56","guid":{"rendered":"https:\/\/www.aegissofttech.com\/insights\/?p=7490"},"modified":"2025-05-15T14:03:44","modified_gmt":"2025-05-15T14:03:44","slug":"sftp-enabled-azure-blob-storage","status":"publish","type":"post","link":"https:\/\/www.aegissofttech.com\/insights\/sftp-enabled-azure-blob-storage\/","title":{"rendered":"Read\/Write Files from a SFTP Enabled Azure BLOB Storage Container"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Agenda:<\/strong><\/h2>\n\n\n\n<p>In this article, we will learn to create an SFTP enabled Azure BLOB Storage account and access the account container using private credentials with the help of SSH.NET library.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Pre-requisites:<\/strong><\/h2>\n\n\n\n<p>1) .NET SDK (Any version)<\/p>\n\n\n\n<p>2) Visual Studio Code<\/p>\n\n\n\n<p>=&gt; Download .NET SDK for Windows or Mac based on your operating system from <a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/visual-studio-sdks\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/dotnet.microsoft.com\/en-us\/download\/visual-studio-sdks<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-gallery aligncenter has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"394\" data-id=\"7492\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/net-sdks-for-visual-studio-1-1024x394.jpg\" alt=\"Download .NET SDK for Windows\" class=\"wp-image-7492\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/net-sdks-for-visual-studio-1-1024x394.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/net-sdks-for-visual-studio-1-300x115.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/net-sdks-for-visual-studio-1-768x296.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/net-sdks-for-visual-studio-1.jpg 1429w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>=&gt; Download Visual Studio code from Microsoft\u2019s official website <a href=\"https:\/\/code.visualstudio.com\/Download\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/code.visualstudio.com\/Download<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"480\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/download-visual-studio-code-1024x480.jpg\" alt=\"Download Visual Studio code from Microsoft\u2019s\" class=\"wp-image-7493\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/download-visual-studio-code-1024x480.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/download-visual-studio-code-300x141.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/download-visual-studio-code-768x360.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/download-visual-studio-code.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once you install .NET SDK, type the below command and you should see the result like below. If the result is something different, then there might be some issue with .NET installation.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"317\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-info-1024x317.png\" alt=\"type the below command\" class=\"wp-image-7494\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-info-1024x317.png 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-info-300x93.png 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-info-768x238.png 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-info.png 1498w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once you install VS Code, just type \u201ccode\u201d. In the terminal, and it should open Visual Studio Code GUI.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Visual-Studio-Code-1024x551.jpg\" alt=\"Once you install VS Code, just type \u201ccode\u201d\" class=\"wp-image-7495\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Visual-Studio-Code-1024x551.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Visual-Studio-Code-300x162.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Visual-Studio-Code-768x414.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Visual-Studio-Code.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Creating an SFTP enabled Azure BLOB Storage<\/p>\n\n\n\n<p>To smooth out data management and analytics, create a resource group that incorporates <strong><a href=\"https:\/\/www.aegissofttech.com\/azure\/synapse-analytics.html\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Synapse Analytics<\/a><\/strong> for seamless <a href=\"https:\/\/www.aegissofttech.com\/insights\/azure-data-factory-integration-runtime\/\" target=\"_blank\" rel=\"noreferrer noopener\">Azure data factory integration runtime<\/a> and proficient handling of large datasets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: Create a Resource Group<\/strong><\/h2>\n\n\n\n<p>=&gt; On the home page of the Azure portal, you should see a tile with name Resource Group. If not, you can search it on the top search bar.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"809\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/azure-resource-1024x809.jpg\" alt=\"Resource Group\" class=\"wp-image-7496\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/azure-resource-1024x809.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/azure-resource-300x237.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/azure-resource-768x607.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/azure-resource.jpg 1390w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Click Create button in the Resource Groups popup, and you should see the below screen.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/create-a-resource-group-1024x594.jpg\" alt=\"Resource Groups popup\" class=\"wp-image-7497\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/create-a-resource-group-1024x594.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/create-a-resource-group-300x174.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/create-a-resource-group-768x445.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/create-a-resource-group.jpg 1428w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Enter the Resource group name and select a region as mentioned above.<\/p>\n\n\n\n<p>=&gt; <strong>Click Review+Create button<\/strong> and you will see the below screen where Azure validates the data entered by you.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"786\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Review-create-button-1024x786.jpg\" alt=\"Click Review+Create button\" class=\"wp-image-7498\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Review-create-button-1024x786.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Review-create-button-300x230.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Review-create-button-768x590.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Review-create-button.jpg 1136w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Finally click create button to create the resource group named \u201cdemo-rg\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: Creating Storage Account for File Storage<\/strong><\/h2>\n\n\n\n<p>=&gt; Go inside the resource group and click create button.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"195\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-rg-1024x195.jpg\" alt=\"Creating Storage Account for File Storage\" class=\"wp-image-7499\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-rg-1024x195.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-rg-300x57.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-rg-768x146.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-rg.jpg 1480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Search for Storage Account and click Create button.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"506\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account.jpg\" alt=\"Search for Storage Account\" class=\"wp-image-7500\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account.jpg 976w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-300x156.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-768x398.jpg 768w\" sizes=\"(max-width: 976px) 100vw, 976px\" \/><\/figure>\n\n\n\n<p>=&gt; Once you click Create button, you will see Storage Account configuration wizard. Select the values as mentioned in the screenshots below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Basics Tab:<\/strong><\/h3>\n\n\n\n<p>=&gt; The most important thing on this page is to select Primary Service as <a href=\"https:\/\/www.aegissofttech.com\/azure-data-lake-analytics.html\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Data Lake Analytics<\/a> Gen 2.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"973\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-basics-tab-973x1024.jpg\" alt=\"Primary Service as Azure Data Lake Analytics\" class=\"wp-image-7501\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-basics-tab-973x1024.jpg 973w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-basics-tab-285x300.jpg 285w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-basics-tab-768x808.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-basics-tab.jpg 1428w\" sizes=\"(max-width: 973px) 100vw, 973px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advanced Tab:<\/strong><\/h3>\n\n\n\n<p>=&gt; To enable SFTP features, you need to first select Enable Hierarchical namespace.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-722x1024.jpg\" alt=\"SFTP features\" class=\"wp-image-7502\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-722x1024.jpg 722w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-211x300.jpg 211w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-768x1090.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-1082x1536.jpg 1082w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab-1443x2048.jpg 1443w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-advanced-tab.jpg 1546w\" sizes=\"(max-width: 722px) 100vw, 722px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Networking Tab:<\/strong><\/h3>\n\n\n\n<p>=&gt; Keep everything same on this tab.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab-831x1024.jpg\" alt=\"Networking Tab:\" class=\"wp-image-7503\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab-831x1024.jpg 831w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab-243x300.jpg 243w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab-768x947.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab-1246x1536.jpg 1246w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-networking-tab.jpg 1428w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Data Protection Tab:<\/strong><\/h3>\n\n\n\n<p>=&gt; Keep everything same here as well.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"780\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab-780x1024.jpg\" alt=\"Data Protection Tab\" class=\"wp-image-7504\" style=\"width:838px;height:auto\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab-780x1024.jpg 780w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab-229x300.jpg 229w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab-768x1008.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab-1170x1536.jpg 1170w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-data-protection-tab.jpg 1432w\" sizes=\"(max-width: 780px) 100vw, 780px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Encryption Tab:<\/strong><\/h2>\n\n\n\n<p>=&gt; Keep everything same here as well.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"460\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-encryption-tab-1024x460.jpg\" alt=\"Encryption Tab\" class=\"wp-image-7505\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-encryption-tab-1024x460.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-encryption-tab-300x135.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-encryption-tab-768x345.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-encryption-tab.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; <strong>Press Review + Create<\/strong> and you should see below screen. Verify all the details and click Create button to create the storage account.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab-495x1024.jpg\" alt=\"Press Review + Create\" class=\"wp-image-7506\" style=\"width:643px;height:auto\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab-495x1024.jpg 495w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab-145x300.jpg 145w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab-768x1588.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab-743x1536.jpg 743w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/storage-account-review-create-tab.jpg 958w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 3: <\/strong>Configure Private User Credentials and Create Container<\/h2>\n\n\n\n<p>=&gt; Configure private user credentials and create container in storage account.<\/p>\n\n\n\n<p>=&gt; Go inside the created storage account, and on the left navigation panel, expand Settings and you will find SFTP option there.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"414\" height=\"1024\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demostgsftp-414x1024.jpg\" alt=\"Configure Private User Credentials and Create Container\" class=\"wp-image-7507\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demostgsftp-414x1024.jpg 414w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demostgsftp-121x300.jpg 121w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demostgsftp.jpg 572w\" sizes=\"(max-width: 414px) 100vw, 414px\" \/><\/figure>\n\n\n\n<p>=&gt; Click Add local user.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"193\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-1024x193.jpg\" alt=\"Add local user\" class=\"wp-image-7508\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-1024x193.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-300x57.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-768x145.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; In the user + authentication tab, configure the following.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"414\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-authentication-1024x414.jpg\" alt=\"authentication tab\" class=\"wp-image-7509\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-authentication-1024x414.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-authentication-300x121.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-authentication-768x310.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-authentication.jpg 1428w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Create a new container and mention the same container name in Landing directory.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"713\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-1024x713.jpg\" alt=\"new container and mention the same container name\" class=\"wp-image-7510\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-1024x713.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-300x209.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-768x535.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-1536x1070.jpg 1536w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission.jpg 1662w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Select all permissions for the container.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"668\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-container-1024x668.jpg\" alt=\"permissions for the container\" class=\"wp-image-7511\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-container-1024x668.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-container-300x196.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-container-768x501.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/add-local-user-permission-container.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Once you click Add button, you will see a popup showing the SSH password. Copy and keep it somewhere handy. We will use this password when we connect to this container with <a href=\"https:\/\/www.aegissofttech.com\/asp-dot-net-development-company.html\">.NET development services<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"509\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-password-1024x509.jpg\" alt=\"SSH password.\" class=\"wp-image-7512\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-password-1024x509.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-password-300x149.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-password-768x382.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-password.jpg 1086w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Finally you will see all container details with user details like below in SFTP enabled Azure BLOB Storage page.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"82\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/container-details-1024x82.jpg\" alt=\"\" class=\"wp-image-7513\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/container-details-1024x82.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/container-details-300x24.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/container-details-768x61.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/container-details.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 4: <\/strong>Add some Sample Files inside the Container Folder<\/h2>\n\n\n\n<p>=&gt; Go to the containers option like below and you should see the container that we created in the previous step.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"291\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demost-containers-1024x291.jpg\" alt=\"Sample Files inside the Container Folder\" class=\"wp-image-7514\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demost-containers-1024x291.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demost-containers-300x85.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demost-containers-768x218.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demost-containers.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Click on the container name and click Upload button. Once you click Upload button, you can upload any sample files which you want using the dialog box with Browse for file option.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"150\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-1024x150.jpg\" alt=\"dialog box with Browse for file option\" class=\"wp-image-7515\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-1024x150.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-300x44.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-768x113.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; I have uploaded 12 files like below.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"348\" data-id=\"7516\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-files-1024x348.jpg\" alt=\"uploaded 12 files like below\" class=\"wp-image-7516\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-files-1024x348.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-files-300x102.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-files-768x261.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/demo-containers-files.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 5: <\/strong>Creating .NET Console App<\/h2>\n\n\n\n<p>=&gt; Creating .NET console app and access the above container with the app using the private credentials.<\/p>\n\n\n\n<p>=&gt; Go to the terminal and open a folder inside it. Then use the following command to create the .NET console app using .NET CLI.<\/p>\n\n\n\n<p>dotnet new console -lang \u201cC#\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"287\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-new-console-1024x287.jpg\" alt=\"Creating .NET Console App\" class=\"wp-image-7517\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-new-console-1024x287.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-new-console-300x84.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-new-console-768x216.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/dotnet-new-console.jpg 1518w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; The Nuget package that we are using is SSH.NET. You can install the package using the following command.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"342\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Nuget-package-1024x342.jpg\" alt=\"Nuget package\" class=\"wp-image-7518\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Nuget-package-1024x342.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Nuget-package-300x100.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Nuget-package-768x257.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/Nuget-package.jpg 1431w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Once the package is installed, open the project in VS Code. You can see the package reference in .csproj file.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"595\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-csproj-1024x595.jpg\" alt=\"project in VS Code\" class=\"wp-image-7519\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-csproj-1024x595.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-csproj-300x174.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-csproj-768x446.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-csproj.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; Open Program.cs file and use write the code shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"296\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-program-1024x296.jpg\" alt=\"Open Program.cs file\" class=\"wp-image-7520\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-program-1024x296.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-program-300x87.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-program-768x222.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-demo-program.jpg 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; The above is very simple and self-explanatory. We are just creating a SFTP client object and passing hostname, username and password.<\/p>\n\n\n\n<p>=&gt; Client object connects to the SFTP enabled Azure BLOB Storage container and lists all the files inside the home directory.<\/p>\n\n\n\n<p>=&gt; Run the program using F5 button, you should see the following output in the output window. In the output, you can see the files that we uploaded in the Azure container.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"531\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-run-program-1024x531.jpg\" alt=\"Run the program using F5 button\" class=\"wp-image-7521\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-run-program-1024x531.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-run-program-300x155.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-run-program-768x398.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/sftp-run-program.jpg 1320w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>=&gt; <strong>SSH.NET is a powerful library <\/strong>and you can use it for many features. Below is a screenshot from its official website. You can explore more on it.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-net-powerful-library-1024x654.jpg\" alt=\"SSH.NET is a powerful library\" class=\"wp-image-7522\" title=\"\" srcset=\"https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-net-powerful-library-1024x654.jpg 1024w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-net-powerful-library-300x192.jpg 300w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-net-powerful-library-768x490.jpg 768w, https:\/\/www.aegissofttech.com\/insights\/wp-content\/uploads\/2025\/01\/ssh-net-powerful-library.jpg 1428w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Read more:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.aegissofttech.com\/insights\/future-of-azure-data-lake\/\" target=\"_blank\" rel=\"noreferrer noopener\">The Future of Azure Data Lake<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.aegissofttech.com\/insights\/azure-data-factory-integration-tool\/\" target=\"_blank\" rel=\"noreferrer noopener\">Essential 12+ Azure Data Factory Tools for Data Integration<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.aegissofttech.com\/insights\/ai-analytics-azure-data-lake\/\" target=\"_blank\" rel=\"noreferrer noopener\">AI &amp; Analytics: Azure Data Lake as Your Innovation Platform<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.aegissofttech.com\/insights\/data-factory-in-microsoft-fabric\/\" target=\"_blank\" rel=\"noreferrer noopener\">Data Factory in Microsoft Fabric: Features and Benefits<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":" ","protected":false},"author":1,"featured_media":7530,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[22,190],"tags":[1037,1038,1036,1039],"class_list":["post-7490","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-asp-net","tag-azure-blob-storage","tag-azure-sftp","tag-sftp-enabled-azure-blob-storage","tag-sftp-support-for-azure-blob"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/7490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/comments?post=7490"}],"version-history":[{"count":18,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/7490\/revisions"}],"predecessor-version":[{"id":10420,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/posts\/7490\/revisions\/10420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/media\/7530"}],"wp:attachment":[{"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/media?parent=7490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/categories?post=7490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aegissofttech.com\/insights\/wp-json\/wp\/v2\/tags?post=7490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}