AspectUnk / russh-sftp

SFTP subsystem supported server and client for Russh
Apache License 2.0
64 stars 21 forks source link

Fix StatusCode typo #2

Closed Swelio closed 1 year ago

Swelio commented 1 year ago

There is a typo as StatusCode::PermissionDenined. So I fixed it and added documentation for each status code from the SFTP specification (https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt) as it helps the user to choose which code to return.

Hope this is fine for you. Have a great day.

AspectUnk commented 1 year ago

Thanks for taking the time to do this, it will be part of the next release, I haven't updated the library in a while due to lack of time, but literally soon I will get back to it and finish it completely, so it's a helpful contribution. I appreciate it.