sftp settings premakjen

This commit is contained in:
David Štaleker
2024-09-11 06:07:11 +02:00
parent 1dc48d2d85
commit 34a081e8f9
4 changed files with 8 additions and 50 deletions

View File

@@ -43,10 +43,6 @@ namespace InfosysPublisher
{
var settings = new Settings.Application
{
SftpServerAddress = TbSftpServer.Text,
SftpPort = Convert.ToInt32(TbSftpPort.Text),
SftpUsername = TbSftpUsername.Text,
SftpPassword = TbSftpPassword.Text,
BuildSeconds = Convert.ToInt32(TbBuildDuration.Text)
};
@@ -59,10 +55,6 @@ namespace InfosysPublisher
{
var settings = GetSettings() ?? new Settings.Application();
TbSftpServer.Text = settings.SftpServerAddress;
TbSftpPort.Text = settings.SftpPort.ToString();
TbSftpUsername.Text = settings.SftpUsername;
TbSftpPassword.Text = settings.SftpPassword;
TbBuildDuration.Text = settings.BuildSeconds.ToString();
}