0 votes

I got the error 'unknown command' on line:

Dim serverHash As Byte() 
    = client.GetFileHash("report.txt", FtpHashType.CRC)

and it seems to be the GetFileHash-Command that isn't known.

by (8.8k points)

1 Answer

0 votes
 
Best answer

"unknown command" error message is returned by the FTP server.

It simply means that it doesn't support this command.

You can use Ftp.Extensions to see what extensions are supported by your FTP/FTPS server.

by (297k points)
...