SamLogic Internet Components - Home
Error Codes (FTP)


In the table below you find a list of possible error codes that the GetLastError method in the SLFTP component can return. Most of the error codes are the same codes that is returned by Windows when using the FTP functions in the system.
 
 
Value Windows Constant Description
2 ERROR_FILE_NOT_FOUND The file specified cannot be found.
3 ERROR_PATH_NOT_FOUND The path specified cannot be found.
5 ERROR_ACCESS_DENIED Access is denied.
8 ERROR_NOT_ENOUGH_MEMORY Not enough storage is available to process this command.
32 ERROR_SHARING_VIOLATION Cannot access the file because it is being used by another process.
12002 ERROR_INTERNET_TIMEOUT The request has timed out.
12007 ERROR_INTERNET_NAME_NOT_RESOLVED The server name could not be resolved. Two common reasons to this error are:
- the server name specified is invalid
- there is a problem with the DNS
12008 ERROR_INTERNET_PROTOCOL_NOT_FOUND The requested protocol could not be located.
12013 ERROR_INTERNET_INCORRECT_USER_NAME Incorrect user name. The request to connect and log on to an FTP server could not be completed because the supplied user name is incorrect.
12014 ERROR_INTERNET_INCORRECT_PASSWORD Incorrect password. The request to connect and log on to an FTP server could not be completed because the supplied password is incorrect.
12015 ERROR_INTERNET_LOGIN_FAILURE The request to connect to and log on to an FTP server failed.
12017 ERROR_INTERNET_OPERATION_CANCELLED The operation was canceled, usually because the handle on which the request was operating was closed before the operation completed.
12020 ERROR_INTERNET_NOT_PROXY_REQUEST The request cannot be made via a proxy.
12029 ERROR_INTERNET_CANNOT_CONNECT The attempt to connect to the server failed.
12030 ERROR_INTERNET_CONNECTION_ABORTED The connection with the server has been terminated.
12033 ERROR_INTERNET_INVALID_PROXY_REQUEST The request to the proxy was invalid.
12110 ERROR_FTP_TRANSFER_IN_PROGRESS The requested operation cannot be made on the FTP session handle because an operation is already in progress.
12111 ERROR_FTP_DROPPED The FTP operation was not completed because the session was aborted.
 
Sometimes GetLastError can return a 5-digit error code that start with the digits 10 or 11 (for example 10035). A list of these error codes is available on this page.
 
 
 
SamLogic