Differences

This shows you the differences between the selected revisions of the page.

2014-10-01 2015-02-26
discarding ~~TOC~~ tag (martin) limit acronym recognition + articles (martin)
Line 1: Line 1:
====== SFTP Status/Error Codes ====== ====== SFTP Status/Error Codes ======
-SFTP status/error codes are numerical codes that SFTP server ((Exception are codes ''6'' and ''7'' that intended to by used by client. But WinSCP never uses these.)) uses to indicate result of client request (i.e. request sent by WinSCP to the server).+SFTP status/error codes are a numerical codes that an %%SFTP%% server ((Exception are codes ''6'' and ''7'' that intended to by used by client. But WinSCP never uses these.)) uses to indicate a result of a client request (i.e. a request sent by WinSCP to the server).
-WinSCP translates the numerical codes to textual description for you, so you do not have to know them.+WinSCP translates the numerical codes to a textual description for you, so you do not have to remember them.
-The SFTP server should also provide meaningful textual description of the error itself. WinSCP includes the server-side description in its error message, labeled "Error message from server". Such description can include more detailed information than WinSCP can possibly deduce from the numerical code.  +The %%SFTP%% server should also provide a meaningful textual description of the error itself. WinSCP includes the server-side description in its error message, labeled "Error message from server". Such description can include more detailed information than WinSCP can possibly deduce from the numerical code. 
===== [[code_4]] Code 4 (Failure) ===== ===== [[code_4]] Code 4 (Failure) =====
-Note that not all servers use all codes. Most SSH/SFTP servers, including the most commonly used OpenSSH, support only SFTP version 3 that defines only codes ''0'' to ''8''.+Note that not all servers use all codes. Most SSH/SFTP servers, including the most commonly used OpenSSH, support only %%SFTP%% version 3 that defines only codes ''0'' to ''8''.
-These servers would generally use code ''4'' (Failure) for many errors for which there is specific code defined in later versions of SFTP protocol, such as: +These servers would generally use code ''4'' (Failure) for many errors for which there is a specific code defined in the later versions of %%SFTP%% protocol, such as: 
-  * Renaming file to name of already existing file. +  * Renaming a file to a name of already existing file. 
-  * Creating directory that already exists. +  * Creating a directory that already exists. 
-  * Moving remote file to different filesystem (HDD). +  * Moving a remote file to a different filesystem (HDD). 
-  * Uploading file to full filesystem (HDD). +  * Uploading a file to a full filesystem (%%HDD%%). 
-  * Exceeding 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.

Last modified: by martin