I'm new to PHP and I've been learning about FTP functions. I came across the `ftp_pwd()` function, but I'm having a bit of trouble understanding how it works. From what I gather, it seems to be related to retrieving the current directory on the FTP server.
Can someone please explain to me how to use the `ftp_pwd()` function in PHP? It would be great if you could provide a simple example to illustrate its usage. Additionally, if you could explain the purpose and significance of this function, I would appreciate it.
Thanks in advance for your help!