chDir

Navigation:  Development > Function Reference > Module > Ftp >

chDir

Previous pageReturn to chapter overviewNext page

Change directory to given directory on the remote host.

 

App::Module('Ftp')->chDir(Location);
 

 

Parameter

Type

Description

Location

Mandatory

Path to change directory

 

return true if success

 

See bellow examples:

 

$Ftp = App::Module('Ftp')->chdir("ABC");