From 5983c5bb469ea2e79e5582df5d611dce66c2c80b Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 22 Mar 2018 13:59:35 +0100 Subject: [PATCH 1/3] fixes #27 --- src/Connection/Connect-To.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Connection/Connect-To.ps1 b/src/Connection/Connect-To.ps1 index 31f405d..c63ea82 100644 --- a/src/Connection/Connect-To.ps1 +++ b/src/Connection/Connect-To.ps1 @@ -182,6 +182,7 @@ function Connect-To { FtpMode = 'Passive' } try { + $FTPSessionOption = New-WinSCPSessionOption @FTPSessionOption $Global:WinSCPSession = New-WinSCPSession @WinSCPConParams } catch { -- 2.40.1 From e1976bd2fe8a3bfd28539996d119d5af7c674612 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 22 Mar 2018 14:59:19 +0100 Subject: [PATCH 2/3] fix var name typo --- src/Connection/Connect-To.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Connection/Connect-To.ps1 b/src/Connection/Connect-To.ps1 index c63ea82..f869d22 100644 --- a/src/Connection/Connect-To.ps1 +++ b/src/Connection/Connect-To.ps1 @@ -182,8 +182,8 @@ function Connect-To { FtpMode = 'Passive' } try { - $FTPSessionOption = New-WinSCPSessionOption @FTPSessionOption - $Global:WinSCPSession = New-WinSCPSession @WinSCPConParams + $FTPSessionOption = New-WinSCPSessionOption @WinSCPConParams + $Global:WinSCPSession = New-WinSCPSession @FTPSessionOption } catch { throw "Could not connect to {0} using {1} protocol!" -f $RemoteHost, $Type -- 2.40.1 From 6a2eec6aedacc84a73c2703533ba5968acec4ae8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 26 Mar 2018 12:55:53 +0200 Subject: [PATCH 3/3] bump version --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 1e8d9d4..1f5730f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 0.2.2.{build} +version: 0.2.3.{build} #branches: # only: -- 2.40.1