Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to get the FTP endpoint using Azure SDK in Blazor?

$
0
0

I am able to get the username and password, but I cannot get the HostName, which is the FTP endpoint visible on the Azure Portal.

var ftpPublishingData = await _webSite.GetPublishingCredentialsAsync(WaitUntil.Completed);

var username = ftpPublishingData.Value.Data.PublishingUserName;var password = ftpPublishingData?.Value.Data.PublishingPassword;

I need to get the FTP endpoint because I need it to upload files to Azure App Service using WinSCP. I am doing all of this in Blazor because I want to automate everything, so I need to obtain the FTP endpoint programmatically.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>