Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
226 views
in Technique[技术] by (71.8m points)

Unable to connect to Azure server using FTP

I have developed an app service in Microsoft Azure and am working on it. Now I want to download my source code from the Azure server to my local machine. I have tried using FTP but I am unable to establish a connection.

I don't know what I'm missing from this link: https://medium.com/@michaelhenderson/how-to-download-your-source-code-from-azure-app-service-59c848752b0f.

Can anyone help me out with the issue?

Thank you.

question from:https://stackoverflow.com/questions/65920785/unable-to-connect-to-azure-server-using-ftp

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There could be several reasons for the FTP issue, the exact error message may provide some pointers.

Azure App Service supports connecting via both Active and Passive mode. Passive mode is preferred because your deployment machines are usually behind a firewall.

Kindly check this document: https://docs.microsoft.com/azure/app-service/deploy-ftp#get-ftp-connection-information

Alternatively, you could copy files directly from Kudu console to local: http://yourwebappname.scm.azurewebsites.net/ (append ‘scm’ to the default WebApps emphasized above)

Navigate to cmd button and you can find your project files under site/wwwroot folder

Also, you could clone the WebApp from Azure App Service to your local Visual Studio (VS) by using VS team explorer.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...