Name Date Size #Lines LOC

..27-Oct-2024-

Makefile.inH A D08-May-20224.7 KiB14599

Readme.txtH A D08-May-20223.5 KiB7358

cmds.cH A D08-May-202240.7 KiB1,7011,269

config.h.inH A D08-May-20225.1 KiB208138

configure.inH A D08-May-20226.8 KiB293254

dos2unix.shH A D08-May-2022538 3430

errno.cH A D08-May-20226.4 KiB164149

ftp.cH A D08-May-202235.4 KiB1,363994

ftp.hH A D08-May-2022735 2314

glob.cH A D08-May-202238.2 KiB1,7671,362

io.cH A D08-May-202271.2 KiB2,8252,207

libncftp.dspH A D08-May-20223.6 KiB161131

libncftp.dswH A D08-May-2022510 3019

linelist.cH A D08-May-202214.6 KiB784608

mksrctar.shH A D08-May-20221.6 KiB9887

mksrczip.batH A D08-May-20221.1 KiB1913

ncftp.hH A D08-May-202227.4 KiB692584

ncftp_errno.hH A D08-May-20223.7 KiB114104

open.cH A D08-May-202229.4 KiB1,138863

rcmd.cH A D08-May-202224.5 KiB1,039726

syshdrs.hH A D08-May-20223.9 KiB166136

util.cH A D08-May-202220 KiB1,049764

util.hH A D08-May-20222.5 KiB10981

util2.cppH A D08-May-2022595 3528

wincfg.hH A D08-May-2022855 3413

Readme.txt

1Since you have the source distribution, you will need to compile the
2libraries before you can install them.
3
4UNIX INSTRUCTIONS:
5------------------
6
7Go to the source directory you extracted (here). There is a script you
8must run which will checks your system for certain features, so that the
9library can be compiled on a variety of UNIX systems.  Run this script
10by typing "./configure" in that directory.  After that, you can look at
11the Makefile it made if you like, and then you run "make" to create the
12"libncftp.a" and "libStrn.a" library files.
13
14Finally, install the libraries and headers, by doing "make install".
15
16View the libncftp.html file for the rest of the documentation.  An easy
17way to do that is use a URL of file://Localhost/path/to/libncftp.html
18with your favorite browser.
19
20
21WINDOWS INSTRUCTIONS:
22---------------------
23
24You will need Visual C++ 6.0 or greater to build the library and sample
25programs.  This version includes two supplementary libraries which you
26must build and link with your applications: a string utility library
27(Strn) and a Winsock utility library (sio).  Unlike the UNIX version of
28LibNcFTP, where the library can be built with or without the sio library,
29the sio library is required for the Windows version.
30
31Keep the source hierarchy intact, so that the samples and libraries
32build without problems.  Build the Strn library first, then the sio
33library, and then the LibNcFTP library.  To do that, open the appropriate
34.dsw file within Visual Studio, and then select "Rebuild All" from the
35"Build" menu.  Be sure to build both the Debug and the Release versions
36for each library.
37
38When that is complete you should be able to build the sample programs,
39which are in the libncftp\samples directory.
40
41View the libncftp.html file for the rest of the documentation.  An easy
42way to do that is use a URL of file://Localhost/path/to/libncftp.html
43with your favorite browser.  Note that there may be UNIX-specific
44instructions which you should ignore.
45
46To build your own applications using LibNcFTP, you'll need to make sure
47you configure your project to find the header files and library files.
48
49Your application may not use the sio or Strn libraries directly, but
50you still need to link with them.  For example, the "simpleget" sample
51uses "..\..\Debug,..\..\..\Strn\Debug,..\..\..\sio\Debug" in the
52project option for additional library paths for the linker, and
53"kernel32.lib user32.lib gdi32.lib advapi32.lib shell32.lib
54 ws2_32.lib Strn.lib sio.lib libncftp.lib" for the list of libraries
55to link with.  Note that LibNcFTP uses advapi32 and shell32, in
56addition to the usual "kernel32.lib user32.lib gdi32.lib".  Of course,
57it also needs to link with Winsock (ws2_32.lib).
58
59Similarly, you'll need to make sure one of your additional include
60directories points to the LibNcFTP directory containing ncftp.h.  The
61"simpleget" sample uses "..\.." since it is in a subdirectory of the
62library itself.  If you actually use functions from Strn or sio (as
63some of the samples do), you'll need to have your project look in
64their directories for their headers as well.
65
66About Winsock2:  This version of the library was designed for use with
67Winsock version 2.  Note that older versions of Windows 95 do not include
68Winsock version 2, but can be upgraded by getting the updater from
69Microsoft:  http://www.microsoft.com/windows95/downloads/contents/wuadmintools/s_wunetworkingtools/w95sockets2/default.asp
70
71However, the library should also work with Winsock 1.1.  That is left as
72an exercise to the coder to change the Winsock initialization to use 1.1
73and to link with the 1.1 library (wsock32.lib).