This commit is contained in:
OCram85 2018-03-22 13:59:35 +01:00
parent 680f37c00e
commit 5983c5bb46

View File

@ -182,6 +182,7 @@ function Connect-To {
FtpMode = 'Passive'
}
try {
$FTPSessionOption = New-WinSCPSessionOption @FTPSessionOption
$Global:WinSCPSession = New-WinSCPSession @WinSCPConParams
}
catch {