Windows 通过powershell v3.0启用ssl连接filezilla

Windows 通过powershell v3.0启用ssl连接filezilla,windows,ssl,ftp,iis-7.5,powershell-3.0,Windows,Ssl,Ftp,Iis 7.5,Powershell 3.0,通过使用powershell脚本,我可以通过正常会话连接ftp服务器。但无法通过安全会话进行连接。 每当我尝试通过ssl连接时,其错误显示需要ssl。谁能告诉我电源外壳使用的参数吗。 Ftp服务器:IIS假设您正在使用System.Net.FtpWebRequest,请将EnableSsl属性设置为true: $ftp = [System.Net.FtpWebRequest]::Create("ftp://ftp.example.com") $ftp.EnableSsl = $true 你能发

通过使用powershell脚本,我可以通过正常会话连接ftp服务器。但无法通过安全会话进行连接。 每当我尝试通过ssl连接时,其错误显示需要ssl。谁能告诉我电源外壳使用的参数吗。 Ftp服务器:IIS

假设您正在使用System.Net.FtpWebRequest,请将EnableSsl属性设置为true:

$ftp = [System.Net.FtpWebRequest]::Create("ftp://ftp.example.com")
$ftp.EnableSsl = $true

你能发布相关代码吗?