ErrAccessViolation is a constant integer that represents the error number for EIdTFTPAccessViolation exceptions raised during a server read file or write file error. ErrAccessViolation can be raised when TIdTrivialFTPServer.CanRead is set to False. ErrAccessViolation is raised in the TIdTrivialFTPServer.OnReadFile or TIdTrivialFTPServer.OnWriteFile event handlers.