references:joomla.framework:client:jftp-pwdpwd
Method to retrieve the current working directory on the FTP server. This function returns a string containing the current working directory. Syntaxstring pwd () ExamplesExample jimport( 'joomla.connector.ftp' ); $ftp = new JFTP( array( 'type' => FTP_BINARY ) ); $ftp->connect( '127.0.0.1' ); $ftp->login( 'testuser', 'testpass' ); $ftp->chdir( 'testing' ); echo "Current Working Directory: " . $ftp->pwd(); might produce: Result Current Working Directory: /testing
|


