Fix FTP Connection Error #29
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user