INTRODUCTION

The basic orientation of this library is making user's programs which transport files via TCP/IP network. It contains set of functions, starting from primitive, such as opening FTP connection to the server, and finishing by high-level functions, such as functions which retrieve files via network, making and closing channels to the server. All functions have prototypes in common header file named FtpLibrary.h, which must be available in standard headers directory. Those prototypes almost fully describe orientation and arguments of all functions, but common ideology and library components should be mentioned.

This library is a client and uses standard FTPD from the other side.

There are problems of errors processing in UNIX including input/output errors. The mutual mechanism of value returning of all functions is used in this library. (EXIT macros, defined in file FtpLibrary.h). This mechanism allows, after the definition of the error processing functions, write programs, considering the conditions to be ideal. Data transfer functions have possibility to preset data stream expectation timeout. When the set time expires, previously set function will be called.

The first function, which should be called for work with library is FtpConnect or FtpLogin. They make connection to FTP server and return pointer to FTP date structure.