ftp_chdir

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Changes the current directory on a FTP server
<?php ftp_chdir(FTP\Connection $ftp, string $directory): bool
<?php             goto start;

        }



        ftp_chdir($this->connection, $this->connectionOptions->root());



        return $this->connection;

    }
<?php             $dirPath .= '/' . $part;

            $location = $this->prefixer->prefixPath($dirPath);



            if (@ftp_chdir($connection, $location)) {

                continue;

            }