chMod

Navigation:  Development > Function Reference > Module > Ftp >

chMod

Previous pageReturn to chapter overviewNext page

Set permission in  a file or folder.

 

App::Module('Ftp')->chMod(Path, Command);
 

 

Parameter

Type

Description

Path

Mandatory

Path

Command

Mandatory

Command String

 

return true if success

 

See bellow examples:

 
$Ftp->Site('/B2N/In',777);
pr($Ftp->_message);