Fix FTP Connection Error #29

Merged
OCram85 merged 3 commits from fixWinSCP into master 2018-03-26 13:01:34 +02:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 5983c5bb46 - Show all commits

View File

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