Is it possible to write to file system on Azure Website

0 votes

Can anyone here please let me know if  I could write to file system on azure Web Site? for example updating or installing plugins/themes in Wordpress from dashboard. as far as I know, it is not possible on Heroku so what about Azure Web Sites?

Jun 27, 2018 in Azure by cloudie_crank
• 1,610 points
1,573 views

1 answer to this question.

0 votes

Yes you can. It is possible to write on the file system of Azure Websites. However your write permissions are limited to the root folder of your app. So, if you use ASP.NET, you shall be able to write anywhere within the Server.MapPath("~/from_here_on"). Meaning you shall be able to perform read/write/delete operations on files which are located in the root folder of your app and below. If you use PHP, the root folder can be get from $_SERVER['DOCUMENT_ROOT'] environment variable.

And a web application shall not need more privileges. For sure will not be able to write on the operating system folders.

answered Jun 27, 2018 by null_void
• 3,220 points

Related Questions In Azure

0 votes
1 answer

Is there a way to get ERROR details on Azure website?

You have two options: First, you can turn ...READ MORE

answered May 25, 2018 in Azure by club_seesharp
• 3,450 points
2,657 views
0 votes
1 answer
0 votes
1 answer

Is it possible to access performance counter in Microsoft Azure Web App?

No, it is not supported on Azure ...READ MORE

answered Jul 4, 2019 in Azure by Perry
• 17,100 points
1,051 views
0 votes
1 answer

How to upload a file on to Azure Blob storage without writing a code?

You can find the below tools useful ...READ MORE

answered Apr 13, 2018 in Azure by club_seesharp
• 3,450 points
1,606 views
0 votes
1 answer

Azure Blob: How to open a file in browser without downloading it?

First, because I was using a byte[] the controller ...READ MORE

answered Jun 20, 2018 in Azure by club_seesharp
• 3,450 points
24,752 views
0 votes
1 answer

Want to upload a blob file with huge size to azure in as little time as possible.

Microsoft Azure Storage Explorer is one of the ...READ MORE

answered Mar 27, 2019 in Azure by Prerna
• 1,960 points
1,374 views
0 votes
1 answer

How to set default Web page for a website on Microsoft Windows Azure?

This blog post should resolve your issue: http://blogs.msdn.com/b/cesardelatorre/archive/2010/07/22/how-to-set-a-default-page-to-a-windows-azure-web-role-app-silverlight-asp-net-etc.aspx Look ...READ MORE

answered Mar 27, 2019 in Azure by Prerna
• 1,960 points
3,004 views
0 votes
1 answer

I want to detect whether a request is being made over HTTPS or HTTP on Azure Websites.

It's looking like you can make use of ...READ MORE

answered Apr 2, 2019 in Azure by Prerna
• 1,960 points
1,140 views
0 votes
1 answer

Is it possible to enable CORS using NancyFX?

Its possible to do this in the ...READ MORE

answered Aug 24, 2018 in Azure by null_void
• 3,220 points
2,274 views
0 votes
1 answer

How to Unzip file uploaded to Azure Websites?

One way is to upload the command ...READ MORE

answered Aug 14, 2018 in Azure by null_void
• 3,220 points
2,715 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP