How to connect to user scope ftp for staging deployment slot Azure app service

Wan Muhammad Haziq 0 Reputation points
2025-05-02T07:30:12.4166667+00:00

Hi, I have a app service with deployment slot enable, The application scope ftp login working for both of the slot. However, for user scope, only the production are able to connect. The staging aren't able to connect. I have reset and confirm the password and user name are correct.

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

1 answer

Sort by: Most helpful
  1. Harshitha Veeramalla 1,116 Reputation points Microsoft External Staff Moderator
    2025-05-07T12:29:52.6933333+00:00

    Hi @Wan Muhammad Haziq,

    I am able to login with the user scope without any issue. Initially I got the below error.

    550 The network connection was aborted by the local system.
    
    • To start newly, in staging slot - reset the credentials under Deployment center, add new Username, password and save.
    • Update the FTP state to All allowed (this worked for me).

    {CA07D9EE-1C48-4D2A-8DA3-95DF6F45CC10}

    • Username has to be AppName\UserName. Get the exact AppName from Application scope.

    User's image

    • Check the settings in FTP, I have set Passive mode.

    User's image

    You can see the message

    Status:	TLS connection established, waiting for welcome message...
    Status:	Logged in
    Status:	Retrieving directory listing...
    Status:	Directory listing of "/" successful
    

    User's image

    Hope this helps


    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions, please reply back.


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.