Home > PHP > Function > FTP > ftp_pwd()

ftp_pwd()

ftp_pwd - Returns the current directory name

Syntax

string ftp_pwd (resource $ftp_stream)

Arguments

  • ftp_stream - The link identifier of the FTP connection.

Description

Version

PHP 4, 5

Return value

Returns the current directory name or FALSE on error.