Function EN Version 5.00

@FTPNTSetCurrentDirectory

FTP

Syntax

@FTPNTSetCurrentDirectory(FTPNTHANDLE;TEXTDIRECTORY);

Description

This @Function is available only on Windows!

Sets the current directory path on the FTP server.
On success, the @Function returns a TRUE; otherwise, @Error.

Example: @FTPNTSetCurrentDirectory(FTPNTHANDLE)

APPLICATIONTEXT:="Test";
ftpnth:=@FTPNTOpen(APPLICATIONTEXT);
BoolRet:=@FTPNTSetCurrentDirectory(ftpnth;"/e:/ftp/test");
ftpnth:=@FTPNTClose(ftpnth);

An FTP session is started, the current directory path on the FTP server is set to "/e:/ftp/test" and then the FTP session is closed again.

Note : This text was machine-translated and may contain inaccuracies.