Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

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
Sara

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.