FTP secure not accepting Certificate in .NET assembly
Hi
I can't connect to a filezilla ftp server using the .Net assembly and the certificate that i generated for the connection.
but I can connect to the filezilla ftp server using the command prompt window with the certificate. any ideas why?
my connection to the server requires ftps with implicit option.
I'm using a Powershell script..
here is my session options that I'm using.
$sessionOptions = New-Object WinSCP.SessionOptions
$sessionOptions.Protocol = [WinSCP.Protocol]::ftp
$sessionOptions.HostName = "0.0.0.0"
$sessionOptions.FtpMode = 'Active'
$sessionOptions.PortNumber = "990"
$sessionOptions.FtpSecure= 'Implicit'
$sessionOptions.UserName = "u"
$sessionOptions.Password = "u"
$sessionOptions.SslCertificate = 'C:\FZ_Cert.crt'
I can't connect to a filezilla ftp server using the .Net assembly and the certificate that i generated for the connection.
but I can connect to the filezilla ftp server using the command prompt window with the certificate. any ideas why?
my connection to the server requires ftps with implicit option.
I'm using a Powershell script..
here is my session options that I'm using.
$sessionOptions = New-Object WinSCP.SessionOptions
$sessionOptions.Protocol = [WinSCP.Protocol]::ftp
$sessionOptions.HostName = "0.0.0.0"
$sessionOptions.FtpMode = 'Active'
$sessionOptions.PortNumber = "990"
$sessionOptions.FtpSecure= 'Implicit'
$sessionOptions.UserName = "u"
$sessionOptions.Password = "u"
$sessionOptions.SslCertificate = 'C:\FZ_Cert.crt'