Function
EN
Version 5.00
@FTPNTGetCurrentDirectory
FTP
Syntax
@FTPNTGetCurrentDirectory(FTPNTHANDLE);
Description
This @Function is available only on Windows!
Returns the current directory path on the FTP server.
On success, the @Function returns a TEXT containing the current directory path; otherwise, @Error.
Example: @FTPNTGetCurrentDirectory(FTPNTHANDLE)
APPLICATIONTEXT:="Test";
ftpnth:=@FTPNTOpen(APPLICATIONTEXT);
TEXTCurrentDirectoryPath:=@FTPNTGetCurrentDirectory(ftpnth);
ftpnth:=@FTPNTClose(ftpnth);
An FTP session is started, the current directory path on the FTP server is assigned to the variable TEXTCurrentDirectoryPath and then the FTP session is closed again.
Note : This text was machine-translated and may contain inaccuracies.
