Files uploaded via FTP to the web app are not sync'd to the web server root folder

Rob Knobben 0 Reputation points
2025-03-28T10:35:57.77+00:00

When we upload files to /home/site/wwwroot via FileZilla (FTP) they are not automatically copied to the nginx server doc root /var/www/wordpress/. However, if we create or modify them via ssh they are copied instantly. It's like the FTP transaction is not detected by the watch process.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,935 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Alekhya Vaddepally 1,670 Reputation points Microsoft External Staff Moderator
    2025-03-28T11:15:01.5766667+00:00

    Hi Rob Knobben,
    When you upload files via FTP for Azure App Service, they are placed in/Home/Site/WWWWROT directory. However, these files cannot automatically sink the document route (/VAR/WWW/WordPress/) of NGINX Server. This may be behaved because the FTP sinsiting method does not support build automation, including file synchronization processes that can be triggered by SSH verbs. To ensure that your web app moves correctly, you can consider using alternative signs that support build automation, such as GIT-based deployment or zip sins, which can handle file synchronization more effectively.
    https://learn.microsoft.com/en-us/azure/app-service/deploy-ftp?tabs=portal#what-happens-to-my-app-during-deployment

    If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    Let me know if you have any further Queries.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.