User Tools

Site Tools


uphp:functions:ftp_error

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:ftp_error [2024/07/16 04:34] (current)
admin created
Line 1: Line 1:
 +======ftp_error======
 +
 +<badge>FW >= 1295</badge>
 +
 +The ftp_error() function returns the internal FTP error number
 +
 +====Description====
 +
 +<well size="sm"><html>
 +<span style="font-size:125%;color:green">int
 +<span style="color:black">ftp_error (
 +<span style="color:black">)
 +</html></well>
 +
 +
 +====Parameter====
 +
 +None
 +
 +====Return Values====
 +
 +<html><b><span style="color:green">int<span style="color:black"></b></html>:  Return value is explained in the below table.
 +
 +^ Value    ^ Error Name ^ Description         ^
 +| 0  | FTP_RESOLVE_OK  | DNS Resolution 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 |
 +
 +
 +
  
uphp/functions/ftp_error.txt · Last modified: 2024/07/16 04:34 by admin