Function __global->afm_copy

Definitions

sources/abstract_file_manager.php

  • Copies a file (NOT a directory) on the open AFM connection.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$old_path PATH No No required parameter N/A N/A The path to the file we are copying
$new_path PATH No No required parameter N/A N/A The target path
$world_access boolean No No required parameter N/A N/A Whether world access is required for the copy

Preview

Code (PHP)

/**
 * Copies a file (NOT a directory) on the open AFM connection.
 *
 * @param  PATH $old_path The path to the file we are copying
 * @param  PATH $new_path The target path
 * @param  boolean $world_access Whether world access is required for the copy
 */

function afm_copy(string $old_path, string $new_path, bool $world_access)