$ FTP ->Pwd()
FTP
Returns the current directory on the FTP server, or undef on error.
undef
Copyright © 2001 O'Reilly & Associates. All rights reserved.