4
votes

I am using Azure to host my asp.net website as WebSite which allows user to fetch files. There is a limit of 1 GB on the website so I have to attach storage to that website.

My problem is that I want to hook that storage with WebSite and pragmatically fetch files stored there.

Secondly, there is another website which will put the resources inside that blob . For faster access, I want to use ftp to do that. Blob does not allow ftp directly for the containers.

For attaching blob, I found a link from Azure that can be used but would not mind if there is a better approach for doing this.

I have the custom FTP code but the concern is why does azure not allow storage to be exposed using ftp and secondly, would there be much of difference in using this ftp and uploading file using rest it exposes?

1
I haven't found a better way than using the API in that link.Kevin DiTraglia

1 Answers

0
votes

For attaching blob, I found a link from Azure that can be used but would not mind if there is a better approach for doing this.

From a web perspective, That's a better approach, I mean using SDK. Other option what you have is to directly make REST API calls to Blob Storage. In fact even SDK makes REST API calls behind the scenes. Even if you use PowerShell to make operation on Blob Storage, all the underlying calls would be REST calls.

For faster access, I want to use ftp to do that. Blob does not allow ftp directly for the containers.

You can use this codeplex project and set up FTP for Azure Blob - http://geekswithblogs.net/jkrebsbach/archive/2013/09/19/options-for-azure-blob-storage.aspx. It needs to be deployed in Worked Role.