FtpDLX Logging on to FTPServer with SFTP with publ (wodFTPServer)
I'm testing out the FTPServer #8 VB example with the #4 VB example for FtpDLX and am running into an issue.
I save the logonname.publickey in the FTPServer app directory and when I attempt to logon the Private Sub FtpD_LoginCertificate routine fires, but when it compares the cert that is sent from the client it dies at the 8th character, where in the .publickey file it is stored as a space, but the FtpDLX control is sending the cert with an ASC 0 at that place instead.
I've not had any troubles adding the publickey generated by the #4 VB example on a linux host and logging on that way.
Any guidance would be greatly appreciated as I'm looking to replace some standard FTP code with something a bit less clear text...
Thanks,
~cj
Re: FtpDLX Logging on to FTPServer with SFTP with
Chris,
why do you store 'publickey' at all? Why don't you store PublicKeyOpenSSH? This is *always* in base64 and doesn't contat NULLs. I think in samples we do that too: [code] If Certificate.PublicKeyOpenSSH = ssh-rsa AAAAB3NzaC1yc2E...== Then[/code]
Can you try it and let me know how it goes?
Kreso