Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to pass a custom error message to the sftp client when the user exceeds the soft or at least the hard quota limit?

My SFTP Client (WinSCP) shows me an error message in which it states that the server should provide an error description - which it isn´t doing.

Link to WinSCP error message description: http://winscp.net/eng/docs/message_error_code_4

Searching online didn´t provide me the answer if it is possible at all - or how it could be accomplished.

Thanks for your answers!

share|improve this question

1 Answer 1

If you are using OpenSSH as the error suggests, there's no way to get customized quota messages.

Of course except for modifying the OpenSSH SFTP server source code and recompiling. It's open source after all :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.