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.
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.