Function EN Version 2.00

@FTPNTGetFile

FTP OSFile

Syntax

@FTPNTGetFile(FTPNTHANDLE;TEXTREMOTENAME;TEXTLOCALPATH;FNOVERWRITEPROTECT);

Description

Retrieves the file with the name TEXT TEXTREMOTENAME from the current directory on the FTP server of the FTP session with the FTPNTHANDLE FTPNTHANDLE.
TEXT TEXTREMOTENAME can also be a fully qualified path or a relative path from the current directory on the FTP server.
IMPORTANT:
A fully qualified path begins with a slash!
For example: "/e:/testdir/file.txt"

TEXT TEXTLOCALPATH must specify a fully qualified local OSPath path.
(For example: d:\received\file.txt)

FN FNOVERWRITEPROTECT:
0   If a local file already exists at the specified path, it is overwritten.
1   If a local file already exists at the specified path, the @Function aborts with an @Error (error code: 00000050).

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