To use the FTP API, you must have the <FTPAPI.H> header file in your TCPIP\INCLUDE directory. The FTP API routines are in the FTPAPI.LIB file in the LIB directory.
Put the following statement at the top of any file using FTP API code:
#include <ftpapi.h>