====== pwd ======
{#JAPI Joomla.Framework Client JFTP::pwd #}
Method to retrieve the current working directory on the FTP server. This function returns a string containing the current working directory.
===== Syntax =====
string pwd ()
===== Examples =====
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:
Current Working Directory: /testing