oFTP.GetCurrentDirectory()

FTPv2.ahk / oFTP

oFTP.GetCurrentDirectory()


Gets the current directory path on FTP server

oFTP.GetCurrentDirectory()

Parameters

None.

Return Value

Current directory path, 0 on error

Remarks

This function does not (yet) support Async mode, see Asynchronous mode remarks.

Related

oFTP.SetCurrentDirectory()

Example

sCurrentDir := oFTP.GetCurrentDirectory()