in order to script a few actions with sftp (client), we need to check if some operation worked or not, ... in sftp-common.c, you have a function named fx2txt which converts the status code to a user-friendly message. Could you append the error code to these messages ? Thanks !
No, for the same reason that "ls /nonexistent" doesn't say "ls: /nonexistent: No such file or directory[2]" - it doesn't help normal users. Just use a regex to parse the messages - the error message names have been perfectly stable since 2001 :)
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.