SolarWinds | Serv-U
Contact Support: 866-530-8040 | Contact Sales: 855-498-4154 or email | Show Flags | Login
Serv-U FTP Server Home Page
The Best for Less
Secure file transfer & share files
from anywhere - affordably

FREE for 14 Days
Full featured trial with secure
FTP, file sharing & web transfer


SHA1 Hash Check (XSHA1)  -  KB Article #2049

Related Articles -- 2051, 2050, 2048, 1485

The XSHA1 command asks the server to perform a cyclic redundancy check using the SHA1 algorithm on the specified file. If the XSHA1 command is supported, the server will respond with the result of the calculation. FTP clients can use this command to verify that the file was transferred without corruption by comparing the server's response with its own calculation.

The SHA-1 algorithm operates by first breaking down the file into 512 byte blocks, then padding the last block so that it is also 512 bites in length. The algorithm then creates sixteen 32-bit words and extends them into eighty 32-bit words, then produces the final hash.

Common Responses
500, 502, 530, 550

See Also

  • About FTP Response Codes
  • FTP Commands
  • FTP Response Codes
  • Cyclic Redundancy Check (XCRC)
  • MD5 Hash Check (XMD5)
  • SHA256 Hash Check (XSHA256)
  • SHA512 Hash Check (XHSA512)