你好:FluentFTP提供了许多方法来通过哈希来验证文件完整性,而无需下载它,FluentFTP例如 :GetHash() - Gets the hash of an object on the server using the currently selected hash algorithm. Supported algorithms are available in the HashAlgorithms property. You should confirm that it's not equal to FtpHashAlgorithm.NONE (which means the server does not support the HASH command).
但是我的C#文件中有很多问题:当我尝试
Ftp.HashAlgorithms.ToString()); -> output : None
当我尝试]时>
Ftp.GetHash("test.exe")); -> output : FluentFTP.FtpCommandException: 'Unknown command.'
[当我尝试Ftp.SetHashAlgorithm(FtpHashAlgorithm.MD5);
-> output :System.NotImplementedException: 'The hash algorithm MD5 was not advertised by the server
因此,我的VSFTPD服务器似乎不支持文件哈希。有人有解决方案吗?
谢谢,
在c#操作系统中的编程问题:Debian 9 Ftp服务器:Vsftpd Dll:FluentFtp您好:FluentFTP提供了许多方法来通过Hash验证文件完整性而无需下载,例如FluentFTP:...
] >> [[有关类似问题,请参见: