Azure FTP login via command line / batch file fails

0 votes
asked Mar 7, 2019 by tim-b

I am trying to connect by FTP to an Azure Web App. I downloaded the publish profile and copied the login to my FTP client and can connect successfully. But when i use ftp.exe from Windows then i am not able to connect to the same host with the same credentials.

I have read Connecting to Azure website via FTP but those solutions do not fix my problem.

This is the output:

ftp> open
Connected to
220 Microsoft FTP
Service 200 OPTS UTF8 command successful - UTF8 encoding now ON.
User ( firstserver\$firstserver
331 Password required
530 User cannot log in.
Login failed.
Invalid command.

Also tried with username firstserver from the Windows command prompt, no difference. Do not forget: when logging in via commercial FTP client software I CAN login successfully.

I tried backslashing the backslash and/or the dollar sign, but nothing helps. What is going wrong, how do i login from the command prompt using the Windows default ftp.exe?

FTP client logging into Azure Web App

Windows FTP.exe failing

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter