Hello. Why i cant get hash file on server? My code:
FtpItem item = (FtpItem)listView1.Items[i].Tag;
if (item.IsFile)
{
string path = ftpClient.GetCurrentFolder() + "/" + item.Name;
byte[] hash = ftpClient.GetFileHash(path , FtpHashType.CRC);
listView1.Items[i].SubItems[3].Text = hash.ToString();
}
Variable path is correct, I can download it, but when I try get hash I get error:
Unknown command.