forked from OCram85/PSCredentialStore
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
ab13962f6e |
@ -1,4 +1,4 @@
|
||||
version: 0.2.2.{build}
|
||||
version: 0.2.3.{build}
|
||||
|
||||
#branches:
|
||||
# only:
|
||||
|
@ -182,7 +182,8 @@ function Connect-To {
|
||||
FtpMode = 'Passive'
|
||||
}
|
||||
try {
|
||||
$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
|
||||
|
Reference in New Issue
Block a user