ftp_pwd

ftp_pwd

(PHP 4, PHP 5, PHP 7)

ftp_pwdReturns the current directory name

Description

string ftp_pwd ( resource $ftp_stream )

Parameters

ftp_stream

The link identifier of the FTP connection.

Return Values

Returns the current directory name or FALSE on error.