Function __global->_ftp_chmod

Definitions

sources/abstract_file_manager.php

  • Set permissions on a newly-created path via FTP, assuming an FTP filesystem cache issue if 'No such file or directory' error is thrown.It is implied that the directory/file was created on the same filename prior to calling this and it returned success.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$ftp mixed required parameter N/A N/A The FTP connection
$permissions integer required parameter N/A N/A The permissions to set
$ftp_path PATH required parameter N/A N/A The file path

Return

  • The new file permissions on success (false: error)
  • Type: ~integer
  • Set: N/A
  • Range: N/A