question

InfoBridgeSysAdmin-5524 avatar image
0 Votes"
InfoBridgeSysAdmin-5524 asked ajkuma-MSFT answered

unable to edit or delete file from App Service

created a fresh App Service. added code, image, text files to the App Service.
all went well and was able to access over a URL also.
after couple of hours i reconnected using FTP using the same user and password and unable edit or delete any of the existing files. Please help.

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ajkuma-MSFT avatar image
0 Votes"
ajkuma-MSFT answered

@InfoBridgeSysAdmin-5524, Thanks for posting this good question!

I’m unsure on what files you’re attempting to edit via FTP (you may make changes to the files locally and then drag and drop to site location) .
Alternatively, you may access Kudu Console (https://<yourwebpp-name>.scm.azurewebsites.net/) [Debug console>cmd], then drag and drop files.

On App Service WebApp, you can copy files to site root/ d:\home\site\wwwroot\ folder).
Kudu console - will give you a web-based dashboard, including a debug console (web-based) where you can explore your various directories.


Note : Unlike Git-based deployments and Zip deployment, FTP deployment doesn't support build automation, such as:
• dependency restores (such as NuGet, NPM, PIP, and Composer automations)
• compilation of .NET binaries
• generation of web.config

So, generate these necessary files manually on your local machine, and then deploy them together with your WebApp.


97346-image.png



You may wish to know about App Service Editor (preview) and also refer this doc for more details.


App Service Editor, formerly known as Visual Studio Online (Monaco), is a web-based editor for App Service. It is a helpful tool for quick editing the App Service. This is a very useful tool for editing HTML, CSS, Javascript, jQuery, Angular JS or any client-side scripting effectively. On editing the files are auto save and changes are reflected on the fly to the App service URL.


Hope this helps!



image.png (57.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.