Get Current Directory on an FTP server
#include <FTPEx.au3>
_FTP_DirGetCurrent ( $hFTPSession )
$hFTPSession | as returned by _FTP_Connect(). |
Success: | the directory name. |
Failure: | 0 and sets the @error flag to non-zero. |
Search FtpGetCurrentDirectory in MSDN Library.