GetFTP Utility, to Download Files via FTP Protocol
Novell Cool Solutions: Trench
By Martin Strobl
Digg This -
Posted: 6 Jun 2001
Version: NetWare 5.1
GetFTP is a NetWare command line utility for downloading a file via ftp protocol to a directory on the server.
The GetFTP is a NSN script. NSN (Novell Script for NetWare) is basically a newer version of NetBasic. To run it on a 5.0 server, you need to install a support for it there. Note: In the NW 5.1, the NSN is installed during server installation. NSN installation file can be found here: http://developer.novell.com/ndk/nscript.htm (click on the Software button). Size of the NSN installation package is approx. 2,5 MB. You will probably have to register yourself on the developer.novell.com before downloading.
For online NSN documentation, see http://developer.novell.com/ndk/doc/nscript/
For Visual Basic command reference (as the NSN is VB compatible), see Microsoft's http://msdn.microsoft.com/scripting/ default.htm?/scripting/vbscript/ techinfo/vbsdocs.htm
For a manual on how to build an NLM from NSN, see this AppNote.
Use the GETFTP script as follows:
- Install the NSN software on the server. Even if you are using the NLM version of the script, you will still need to have it installed, as the compiled NLM still refers to the UCX components.
- Copy the FTPLOGIN.ID into the SYS:\ETC directory on the server. Change it's contents if needed to reflect your ftp login name and password (an e-mail address is often used as password in anonymous FTP transfers)
- If you want to run the non-compilled version of the sctript (*.bas), initiate the NSN (Load NSNINIT, NSNSHELL)
- Run the script like for example "GETFTP ftp.decros.cz/outgoing/mast/1.mpg SYS:\TMP\" (the destination directory must exist on your server).
If you have any questions you may contact Martin at firstname.lastname@example.org
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com