FTPS Certificate authentication without password - WeOnlyDo Discussion board

FTPS Certificate authentication without password (wodFTPServer)

by tamilarasan, Thursday, May 07, 2009, 11:55 (5680 days ago)

Hi,

We want to use FTPS Certificate authentication.
We are using the following code.

Dim ftpsDLX As WeOnlyDo.Client.FtpDLX
ftpsDLX = New WeOnlyDo.Client.FtpDLX()
ftpsDLX.Blocking = True
ftpsDLX.Hostname = ftpInfo.m_transfer_host
ftpsDLX.Login = ftpInfo.m_transfer_login
Dim cert As System.Security.Cryptography.X509Certificates.X509Certificate2
Dim daClientMaster As New ClientMasterDA
cert = New System.Security.Cryptography.X509Certificates.X509Certificate2
cert.Import(strCertPath)
ftpsDLX.Certificate = cert
ftpsDLX.Protocol = WeOnlyDo.Client.Protocols.FTPSwithdata
ftpsDLX.Authentication = WeOnlyDo.Client.Authentications.Certificate
ftpsDLX.Connect()

It throws the following error
The specified network password is not correct.

It is expecting password.
Is it possible to use FTPs certificate authentication without using password.

Thanks,
Tamil.


Complete thread: