2013-05-16 41 views
2

我可以使用發佈和使用azure配置文件獲取從Visual Studio上傳的文件但現在網站和本地文件不同步。我需要下載我的網站,但我不知道該在哪裏做。我喜歡使用FTP客戶端來管理這個。如何從Azure網站下載FTP文件

回答

5

如果你打開發布配置文件,你應該看到有關FTP,如下圖所示(見第2 publishProfile節點):

<publishData> 
    <publishProfile profileName="mywebsite - Web Deploy" publishMethod="MSDeploy" 
        publishUrl="waws-prod-ch1-001.publish.azurewebsites.windows.net:443" 
        msdeploySite="mywebsite" 
        userName="$mywebsite" 
        userPWD="jlnH6ZomzWS1njrsGyWfjgEbKER4W8XqZtLjx0fMPtuHMpk" 
        destinationAppUrl="http://mywebsite.azurewebsites.net" 
        SQLServerDBConnectionString="" mySQLDBConnectionString="" 
        hostingProviderForumLink="" controlPanelLink="http://windows.azure.com"> 
    <databases/> 
    </publishProfile> 
    <publishProfile profileName="mywebsite - FTP" publishMethod="FTP" 
        publishUrl="ftp://waws-prod-ch1-001.ftp.azurewebsites.windows.net/site/wwwroot" 
        ftpPassiveMode="True" 
        userName="mywebsite\$mywebsite" 
        userPWD="jlnH6ZomzWS1njrsGyWfjgEbKER4W8XqZtLjx0fMPtuHMpk" 
        destinationAppUrl="http://mywebsite.azurewebsites.net" 
        SQLServerDBConnectionString="" mySQLDBConnectionString="" 
        hostingProviderForumLink="" controlPanelLink="http://windows.azure.com"> 
    <databases/> 
    </publishProfile> 
</publishData> 

你可以利用這些信息來通過FTP連接的站點。

+0

非常感謝你 –

0

如果您登錄到https://manage.windowsazure.com/並查看儀表板的右下角,您將看到FTP信息。

您可以在您最喜愛的FTP客戶端(例如FileZilla)中使用此信息進行連接,並從Azure網站上載和下載文件。

這是令人難以置信的麻煩。

enter image description here