Function __global->_ftp_info

Definitions

sources/abstract_file_manager.php

  • Return the FTP connection, from stored/posted details.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$light_fail boolean No No False N/A N/A Whether to simply echo-out errors

Returns

  • The FTP connection (false: not connecting via FTP)
  • Type: ~resource
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Return the FTP connection, from stored/posted details.
 *
 * @param  boolean $light_fail Whether to simply echo-out errors
 * @return ~resource The FTP connection (false: not connecting via FTP)
 */

function _ftp_info(bool $light_fail = false)