Fix FTP Connection Error #29

Merged
OCram85 merged 3 commits from fixWinSCP into master 2018-03-26 13:01:34 +02:00
Showing only changes of commit 5983c5bb46 - Show all commits

View File

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