cancel
Showing results for 
Search instead for 
Did you mean: 

Simple client application for JLAN

msalihg
Champ in-the-making
Champ in-the-making
Hi guys,
I would like to use JLAN utilities after i run it. Is there any simple open source client application that calls basic utilities of JLAN such as readFile, writeFile, etc.?
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
FileZilla is a good first step.   And ftp has the benefit of being easy to understand and debug.

msalihg
Champ in-the-making
Champ in-the-making
i need something in java

mrogers
Star Contributor
Star Contributor
I used Apache Commons Net to drive via FTP.

I'll also be interested if anyone has used a CIFS client.

msalihg
Champ in-the-making
Champ in-the-making
Thanks for the suggestions. I have one more question about testing JLAN.
When i use the following configuration in jlanConfig.xml, i get the corresponding error messages after i do this: Run->\\oz2

  <SMB>
    <host name="oz2" domain="ug.net">
      <broadcast>255.255.255.255</broadcast>
      <alias names="oz_jlan"/>
      <smbdialects>Core,LanMan,NT</smbdialects>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>
      <netBIOSSMB port="23"/>
      <tcpipSMB port="1445"/> 
      <hostAnnounce interval="5"/>
     </host>
    <sessionDebug flags="Negotiate,Socket,Tree"/>
  </SMB>

Error message:
[WSNB1] Assigned protocol handler - org.alfresco.jlan.smb.server.NTProtocolHandl
er
[WSNB1] Closing session due to exception
java.lang.NullPointerException
        at org.alfresco.jlan.smb.server.SMBSrvSession.procSMBNegotiate(SMBSrvSes
sion.java:1111)
        at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSessio
n.java:1433)
        at org.alfresco.jlan.smb.server.CIFSThreadRequest.runRequest(CIFSThreadR
equest.java:57)
        at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(Th
readRequestPool.java:141)
        at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
        at org.alfresco.jlan.smb.server.SMBSrvSession.procSMBNegotiate(SMBSrvSes
sion.java:1111)
        at org.alfresco.jlan.smb.server.SMBSrvSession.processPacket(SMBSrvSessio
n.java:1433)
        at org.alfresco.jlan.smb.server.CIFSThreadRequest.runRequest(CIFSThreadR
equest.java:57)
        at org.alfresco.jlan.server.thread.ThreadRequestPool$ThreadWorker.run(Th
readRequestPool.java:141)
        at java.lang.Thread.run(Unknown Source)

Could anybody help please?