sftp settings premakjen
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user