Can't launch FTPS from Powershell

Advertisement

Sara
Guest

Can't launch FTPS from Powershell

I'm trying to launch FTPS with powershell.
I'm getting an error:
Exception setting "Protocol": "Cannot convert null to type "WinSCP.Protocol" due to enumeration values that are not
valid. Specify one of the following enumeration values and try again. The possible enumeration values are "Sftp, Scp, Ftp, Webdav"."

I have tried doing:
$sessionOptions.Protocol = [WinSCP.Protocol]::FtpSecure

$sessionOptions.Protocol = [WinSCP.Protocol]::FtpSecure.Implicit

Not sure what it wants? Just Ftp will not do FTPS right? Help please.

Reply with quote

Advertisement

Guest

Re: Can't launch FTPS from Powershell

Sara wrote:

I'm trying to launch FTPS with powershell.
I'm getting an error:
Exception setting "Protocol": "Cannot convert null to type "WinSCP.Protocol" due to enumeration values that are not
valid. Specify one of the following enumeration values and try again. The possible enumeration values are "Sftp, Scp, Ftp, Webdav"."

I have tried doing:
$sessionOptions.Protocol = [WinSCP.Protocol]::FtpSecure

$sessionOptions.Protocol = [WinSCP.Protocol]::FtpSecure.Implicit

Not sure what it wants? Just Ftp will not do FTPS right? Help please.

Also, version is 5.7.6

Reply with quote

Advertisement

You can post new topics in this forum