Ftp Server Error Codes
Contents |
good, bad or incomplete: Range Purpose 1xx Positive Preliminary reply The requested action is being initiated; expect another reply before proceeding with a new command. (The user-process ftp return codes mainframe sending another command before the completion reply would be in violation of protocol; ftp error 426 but server-FTP processes should queue any commands that arrive while a preceding command is in progress.) This type of reply sftp return codes can be used to indicate that the command was accepted and the user-process may now pay attention to the data connections, for implementations where simultaneous monitoring is difficult. The server-FTP process may ftp error 421 service not available send at most, one 1xx reply per command. 2xx Positive Completion reply The requested action has been successfully completed. A new request may be initiated. 3xx Positive Intermediate reply The command has been accepted, but the requested action is being held in abeyance, pending receipt of further information. The user should send another command specifying this information. This reply is used in command sequence
Ftp Error 500
groups. 4xx Transient Negative Completion reply The command was not accepted and the requested action did not take place, but the error condition is temporary and the action may be requested again. The user should return to the beginning of the command sequence, if any. It is difficult to assign a meaning to "transient", particularly when two distinct sites (Server- and User-processes) have to agree on the interpretation. Each reply in the 4xx category might have a slightly different time value, but the intent is that the user-process is encouraged to try again. A rule of thumb in determining if a reply fits into the 4xx or the 5xx (Permanent Negative) category is that replies are 4xx if the commands can be repeated without any change in command form or in properties of the User or Server (e.g., the command is spelled the same with the same arguments used; the user does not change his file access or user name; the server does not put up a new implementation.) 5xx Permanent Negative Completion reply The command was not accepted and the requested action did not take place. The User-process is discouraged
Free SFTP, SCP and FTP client for Windows News Introduction SSH Client SFTP Client FTP Client Download Install Donate Documentation Guides F.A.Q. Scripting .NET & COM Library Screenshots Translations Support Forum Tracker History [[sftp_codes]] WinSCP Contents » Getting Started » Protocols » SFTP » SFTP Status/Error Codes SFTP status/error codes are a numerical codes that an SFTP server1) 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 a textual description for you, so you do not have to remember them. 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 (Failure) Codes List References 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. Advertisements: 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 a file to a name of already existing file. Creating a directory that already exists. Moving a remote file to a different filesystem (HDD). Uploading a file to a full filesystem (HDD). 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. Codes List Code Name Description Comment 0 OK Indicates successful completion of the operation. 1 EOF An attempt to read past the end-of-file was made; or, there are no more directory entries to return. 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. 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 above. 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