I have SFTP working, just to trying to add Ftp to our existing program. Is SshHostKeyFingerprint recommended for Ftp protocol the same as with SFtp?
If needed, how would I format this key? Does it need a prefix like "sha-256-"?
b5:d2:ab:1a:07:9c:88:b7:0a:fc:6e:1a:f1:c0:aa:c5:c4:93:c3:32:ce:bc:a1:e3:f1:4a:2c:02:f8:32:35:c9
I'm getting an error when running this C# code:
sessionOptions = new SessionOptions
{
Protocol = Protocol.Ftp,
HostName = HostName,
PortNumber = HostPort,
UserName = UserName,
Password = Password
};
Resulting error of running this is:
Exception thrown: 'System.FormatException' in mscorlib.dll Invalid length for a Base-64 char array or string.