FTP access issue

Scott Wilson 51 Reputation points
2020-07-06T23:20:01.537+00:00

I've created a Docker Container Web App and need to get access to the file system to so I can upload some config files that our app needs to run. I went to Deployment Credentials and set up the credentials successfully, the FTP/deployment username field in the overview now has the username set. However whenever I try to connect my I get the following errors back in the console:

Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER <my_username>
Response: 331 Password required
Command: PASS *********
Response: 530 User cannot log in.
Error: Critical error: Could not connect to server

Says password required when I'm indeed providing it with a password.

Side note I find it frustrating that the username and password requirements aren't spelled out in the portal and that it actually allows you to save invalid usernames/passwords and tells you that the submission was successful. I had to find the username and password requirements documented somewhere else to even know I was doing it wrong.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 21,766 Reputation points
    2020-07-07T12:52:53.253+00:00

    Thanks for asking question! To connect via FTP, you need the following information-

    • The FTP host name: which will be something like waws-prod-blu-001.ftp.azurewebsites.windows.net (the blu token might instead be am2 or db3 based on location). You'll find it under the Dashboard tab for your site in the Azure portal.

    • Your username: you'll also find it on the dashboard, under Deployment User. It's the same as your git username, but prefixed with the site name. To add to this since user-level credentials are linked to the user and not a specific resource, the username must be in this format (<app-name>\<user-name>) to direct the sign-in action to the right app endpoint.

    • Your password: use the same password as when you git push, Also note Azure does not show your user-level deployment password. If you forget the password, you can reset your credentials.

    Also verify if you are using the correct FTP endpoint from the Portal -> Overview blade; you may double check on network level restrictions not blocking the communication between Azure and the FTP client.

    You may refer to below doc links for more details on this:
    https://github.com/projectkudu/kudu/wiki/Deployment-credentials#important-note-about-the-ftp-username
    https://github.com/projectkudu/kudu/wiki/Accessing-files-via-ftp

    Let me know if issue persists.


1 additional answer

Sort by: Most helpful
  1. Manu Philip 18,681 Reputation points MVP
    2020-07-07T14:21:54.077+00:00

    Hi @ScottWilson-3161 ,

    If you are still stuck, I will share you a procedure I tested and made an article as below:

    http://cloudcompute.info/connect-azure-container-instance-through-ssh-client-and-filezilla-like-client-to-transfer-files-easily/

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu


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.