This shows you the differences between two versions of the page.
— |
uphp:functions:ftp_error [2024/07/16 04:34] (current) admin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======ftp_error====== | ||
+ | |||
+ | < | ||
+ | |||
+ | The ftp_error() function returns the internal FTP error number | ||
+ | |||
+ | ====Description==== | ||
+ | |||
+ | <well size=" | ||
+ | <span style=" | ||
+ | <span style=" | ||
+ | <span style=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====Parameter==== | ||
+ | |||
+ | None | ||
+ | |||
+ | ====Return Values==== | ||
+ | |||
+ | < | ||
+ | |||
+ | ^ Value ^ Error Name ^ Description | ||
+ | | 0 | FTP_RESOLVE_OK | ||
+ | | 1 |FTP_RESOLVE_ERROR | Unable to resolve server | | ||
+ | | 2 |FTP_TCP_ERROR | Unable to open socket | | ||
+ | | 3 |FTC_TCP_ERROR_TIMEOUT | Timeout while waiting for reply | | ||
+ | | 4 | FTC_TCP_ERROR_TLS_TIMEOUT | Timeout while establishing secure connection | | ||
+ | | 5 | FTC_COMMAND_ERROR_TIMEOUT | Error while awaiting command reply | | ||
+ | | 6 | FTC_ERROR_INVALID_PASSWORD | Password is invalid | | ||
+ | | 7 | FTC_TCP_DISCONNECT | The command or data channel socket was closed | | ||
+ | | 8 | FTC_ERROR_INVALID_COMMAND | Invalid command received | | ||
+ | |||
+ | |||
+ | |||