Topic "Can't launch FTPS from Powershell"

Author Message
Sara

Guest


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




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
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27083
Location: Prague, Czechia
Your duplicate post:
https://winscp.net/forum/viewtopic.php?p=75480#75480
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License