I am new to both NLM and C...
Articles and Tips: qna
01 Jul 2002
Q.
I am new to both NLM and C programming. I would like to write an NLM that copies a list of files from a central server. The list of files will be in a text file. I know how to read the text file, but my problem is connecting to the central server and copying the files. If someone could just point me in the right direction as to which APIs to use. I am an experienced Delphi programmer, just new to C and NLMs.
A.
It's quite similar to opening a NetWare connection to another server from Delphi (without Win32 APIs):
Open a new connection to server B
Login/authenticate to server B
Read/write the file
Disconnect (optional)
More details can be found at http://developer.novell.com/ndk/clib.htm (general information, bindery login)
and in http://developer.novell.com/ndk/doc/ndslib/nds_enu/data/huzx6sda.html (NDS authentication)
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.