@return: {MIXED} The list of files as ARRAY or FALSE on error
FTP NLST :: Get the Files List on a FTP Server
Unlike the FTP LIST command, the server will send only the list of files and no other information on those files
@return: {BOOLEAN} If Success return TRUE ; If Failure return FALSE
FTP EXTENDED Command :: Send an extra and non-standard FTP command to the FTP Server that may not be universally supported by the FTP standard protocol
@return: {MIXED} If Success return a string with the server's answer ; If Failure return FALSE
FTP EXTENDED Command :: Send an extra and non-standard FTP command to the FTP Server that returns an answer and that may not be universally supported by the FTP standard protocol
publicfunctionftp_quit (
) {} -> BOOLEAN
@return: {BOOLEAN} If Success return TRUE ; If Failure return FALSE
Sends the QUIT command to the FTP server
Closes the communication socket after sending QUIT command
class Properties
public$error_msg->STRING
Error Message(s) Collector
If any error occurs will be set here
default ''
public$debug = FALSE ; ->BOOLEAN
to debug or not
public$debug_level = '' ; ->ENUM
debug level '' as standard, log only responses | 'full' as full, log both requests and responses
public$debug_msg->STRING
Debug Log Collector
If Debug, this will return the partial or full Log as string, depend on how $debug_level is set
default ''
public$timeout = 30 ; ->INTEGER+
Connect timeout in seconds
class Constants
documentation generated on: 2023-10-19 23:15:58 +0000