We need to host installers for the software we produce in the umbraco site we are building that will be available for download, but the installers are 1GB+ and the azure file system provider throws a system out of memory exception when uploading. Is there any way we can upload the large files directly to the azure blob storage and then link then create a media item with that file assocated with it. The media node will have other properties that need to be filled in, version info, etc. Surely other Umbraco sites have hosted large installer files in the past, but how to make it work?
If you're hosting the installers in Azure Storage containers, and you're comfortable uploading them directly to the blob storage without using the Umbraco media upload, you could just link to them directly by their external URL.
So, you can create a doctype in Umbraco to represent an installer file; add properties like version info and other required content; and then instead of using a media property for the file itself, you just paste in the link from the storage container into a textstring property. When you render the download link on the website, instead of getting it from a media Url you just create your own link tag using the text value as the url.
If you're worried about people seeing the raw azure blob url you could mask it with an azure CDN endpoint or some other proxy. A CDN is probably a good idea anyways, to optimise the delivery of the large file to the end user.
Hosting large installer files in Umbraco
Hi All,
We need to host installers for the software we produce in the umbraco site we are building that will be available for download, but the installers are 1GB+ and the azure file system provider throws a system out of memory exception when uploading. Is there any way we can upload the large files directly to the azure blob storage and then link then create a media item with that file assocated with it. The media node will have other properties that need to be filled in, version info, etc. Surely other Umbraco sites have hosted large installer files in the past, but how to make it work?
If you're hosting the installers in Azure Storage containers, and you're comfortable uploading them directly to the blob storage without using the Umbraco media upload, you could just link to them directly by their external URL.
So, you can create a doctype in Umbraco to represent an installer file; add properties like version info and other required content; and then instead of using a media property for the file itself, you just paste in the link from the storage container into a textstring property. When you render the download link on the website, instead of getting it from a media Url you just create your own link tag using the text value as the url.
If you're worried about people seeing the raw azure blob url you could mask it with an azure CDN endpoint or some other proxy. A CDN is probably a good idea anyways, to optimise the delivery of the large file to the end user.
is working on a reply...