sftp_codes » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
sftp_codes 2020-05-06 | sftp_codes 2023-02-16 (current) | ||
Line 17: | Line 17: | ||
* Exceeding a user disk quota. | * Exceeding a user disk quota. | ||
- | In this case the server is required to provide meaningful description of the error itself (see above). Unfortunately, OpenSSH SFTP server uses always description "Failure". Is such case, there is unfortunately no way to tell a reason of the failure. | + | In this case the server is required to provide meaningful description of the error itself (see above). Unfortunately, OpenSSH SFTP server uses always description //"Failure"//. Is such case, there is unfortunately no way to tell a reason of the failure. |
- | ===== Codes List ===== | + | ===== [[list]] Codes List ===== |
^ Code ^ Name ^ Description ^ Comment ^ | ^ Code ^ Name ^ Description ^ Comment ^ | ||
| ''0'' | OK | Indicates successful completion of the operation. | | | | ''0'' | OK | Indicates successful completion of the operation. | | | ||
Line 25: | Line 25: | ||
| ''2'' | No such file | A reference was made to a file which does not exist. | | | | ''2'' | No such file | A reference was made to a file which does not exist. | | | ||
| ''3'' | Permission denied | The user does not have sufficient permissions to perform the operation. | | | | ''3'' | Permission denied | The user does not have sufficient permissions to perform the operation. | | | ||
- | | ''4'' | Failure | An error occurred, but no specific error code exists to describe the failure. This error message should always have meaningful text in the the //error message// field. | See [[#code_4|above]]. | | + | | ''4'' | Failure | An error occurred, but no specific error code exists to describe the failure. This error message should always have meaningful text in the //error message// field. | See [[#code_4|above]]. | |
| ''5'' | Bad message | A badly formatted packet or other SFTP protocol incompatibility was detected. | | | | ''5'' | Bad message | A badly formatted packet or other SFTP protocol incompatibility was detected. | | | ||
| ''6'' | No connection | There is no connection to the server. This error may be used locally, but must not be return by a server. | WinSCP does not use the code. | | | ''6'' | No connection | There is no connection to the server. This error may be used locally, but must not be return by a server. | WinSCP does not use the code. | | ||
Line 53: | Line 53: | ||
| ''30'' | Group invalid | The principal specified can not be assigned as the primary group of a file. | | | | ''30'' | Group invalid | The principal specified can not be assigned as the primary group of a file. | | | ||
| ''31'' | No matching byte range lock | The requested operation could not be completed because the specified byte range lock has not been granted. | WinSCP does not use byte range locking. | | | ''31'' | No matching byte range lock | The requested operation could not be completed because the specified byte range lock has not been granted. | WinSCP does not use byte range locking. | | ||
- | |||
===== References ===== | ===== References ===== | ||
- | * //[[https://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-9.1|Status response]]// section of ''draft-ietf-secsh-filexfer-13''; | + | * //[[https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-13#section-9.1|Status response]]// section of ''draft-ietf-secsh-filexfer-13''; |
* SFTP specifications list in "History and development" section of [[wp>SSH_File_Transfer_Protocol|SSH File Transfer Protocol]]. | * SFTP specifications list in "History and development" section of [[wp>SSH_File_Transfer_Protocol|SSH File Transfer Protocol]]. |