Java-Based NetWare SMB Command Line Utilities 1.2


Java-based NetWare DEL, DIR, GET, MOVE, PUT and REN SMB (CIFS) client utilities capable of single file, single directory or single directory tree operations.

Within the com.xaro.NWSMBCLU.jar file are six command line SMB (CIFS) client utilities:

NWSMBDEL - Used to delete one or more files on a remote SMB (CIFS) server.
NWSMBDIR - Used to list the contents of one or more directories on a remote SMB (CIFS) server.
NWSMBGET - Used to get one or more files from a remote SMB (CIFS) server.
NWSMBMV - Used to move one or more files onto a remote SMB (CIFS) server.
NWSMBPUT - Used to put one or more files onto a remote SMB (CIFS) server.
NWSMBREN - Used to rename one or more files on a remote SMB (CIFS) server.

Using the SMB (CIFS) protocol, these programs will work with...

  • A single source file or...
  • All files within a source directory or...
  • All files and directories within a source directory tree...

... with either a NetWare 5.1 or NetWare 6.X host acting as an SMB (CIFS) client and any of the following hosts acting as SMB (CIFS) servers...

  • Microsoft Windows 4.0 NT Workstation
  • Microsoft Windows Millennium Edition
  • Novell NetWare 6.5
  • Novell NetWare 6.0 Support Pack 3 (limited support)

The following host operating systems acting as SMB (CIFS) servers have not been tested, but are expected to work properly with a NetWare 5.1 or a NetWare 6.X host acting as an SMB (CIFS) client:

  • Any host operating system that is running a Samba server
  • Microsoft Windows 2000
  • Microsoft Windows 98
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows XP Home Edition

Since NetWare 5.1's NFAP for Windows appears to be from the same code base as that used by NFAP for Windows software used on NetWare 6.0, there is a slight chance that a NetWare 5.1 host updated to the latest release level of both the NetWare NOS and the NFAP for Windows software will work as a server for a NWSMBXXX client. However, this has not been tested.

Known limitations:

  • If a blank exists in the target directory path into which the software will be installed, then .NCF scripts will either not be created or will be created but will not have been customized for your specific directory paths and will need to be manually changed to reflect actual local paths.
  • With a NetWare 6.0 host acting as a CIFS server via NFAP for Windows, only the NWSMBDIR and NWSMBGET utilities work as expected.

New in version 1.2:

  • Added NWSMBBAT which is a utility to serially run multiple calls of NWSMBXXX utilities via a batch file.

    NWSMBBAT would be used instead of using programs such as the DELAY.NLM that pseudo serialize the execution of commands within NCF files.

    In most cases where several file delete, rename or transfer operations need to be done in a specific order, using the NWSMBBAT utility will result in a job that takes less time than using NCF scripts that use the DELAY command.

  • Modified NWSMBDEL, NWSMBDIR, NWSMBGET, NWSMBMV, NWSMBPUT and NWSMBREN so that their main() methods can safely be called by third party classes.

    This change was needed to allow NWSMBBAT to work properly.

  • The jCIFS libraries has been upgraded to 0.8.2.

  • The IzPack installer has been updated to version 3.5.1.

How to install these utilities on a NetWare host:

Note: The NetWare host acting as an SMB (CIFS) client does not need to have Novell's NFAP for Windows installed on it.
    1. Download the NWSMBCLU.ZIP file and extract it's contents using an UNZIP utility. The NWSMBCLU.ZIP file contains a single file named NWSMBCLU-1.2-install.jar.

    2. Copy the NWSMBCLU-1.2-install.jar file to the NetWare 5.1 or NetWare 6.X host that will be acting as an SMB (CIFS) client.

    3. At the NetWare console, type:

    java -jar {Full NetWare path to the NWSMBCLU-1.2-install.jar file}

    Example: java -jar vol1:\NWSMBCLU-1.2-install.jar

    4. Select a language for the installer application to use.

    Note: The installer application may be multi-lingual, however, the NWSMBCLU utilities themselves only output messages in English.

    5. Follow the online installation instructions.


Comment List