DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
API compatibility

File transfer protocol (ftp) interface

SCO OpenServer and UnixWare 7 support the Internet file transfer protocol (FTP) interface developed for SCO OpenServer; this interface is defined in /usr/lib/libftp.so. SCO UnixWare 2.1.X does not support this interface natively, but it is provided with the UnixWare 2 Compatibility Module.

Applications compiled with the UnixWare and OpenServer Development Kit that use this interface will run on UnixWare 7 or SCO OpenServer; and on SCO UnixWare 2.1.X with the Compatibility Module installed.

Source code that uses this interface will compile on UnixWare 7 and SCO OpenServer without any modifications.

To compile and link a program that uses the FTP interface, do the following:

  1. Include the libftp.h header file at the beginning of your source files. The syntax of the include preprocessor directive to use is:
       #include <net/libftp.h>
    

  2. Specify the libftp library as one of the libraries to be searched on the cc command line:
       cc option file -lftp
    

Next topic: FTP compatibility table
Previous topic: res_mkquery compatibility notes

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004