Project Wonder 2.0

er.extensions
Class ERXLinlyn

java.lang.Object
  extended byer.extensions.ERXLinlyn

public class ERXLinlyn
extends Object

Can upload and download files from ftp servers


Field Summary
static ERXLogger log
          logging support
 
Constructor Summary
ERXLinlyn(String server, int portNum, String user, String pass)
           
ERXLinlyn(String server, String user, String pass)
           
 
Method Summary
 void append(String dir, String file, String what, boolean asc)
           
 String download(String dir, String file)
           
 String download(String dir, String file, boolean asc)
           
 void upload(String dir, String file, byte[] bytes)
           
 void upload(String dir, String file, byte[] bytes, boolean keepAlive)
           
 void upload(String dir, String file, String what)
           
 void upload(String dir, String file, String what, boolean asc)
           
 void upload(String dir, String file, String what, boolean asc, boolean keepAlive)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static ERXLogger log
logging support

Constructor Detail

ERXLinlyn

public ERXLinlyn(String server,
                 String user,
                 String pass)

ERXLinlyn

public ERXLinlyn(String server,
                 int portNum,
                 String user,
                 String pass)
Method Detail

download

public String download(String dir,
                       String file)
                throws IOException
Throws:
IOException

download

public String download(String dir,
                       String file,
                       boolean asc)
                throws IOException
Throws:
IOException

append

public void append(String dir,
                   String file,
                   String what,
                   boolean asc)
            throws IOException
Throws:
IOException

upload

public void upload(String dir,
                   String file,
                   String what)
            throws IOException
Throws:
IOException

upload

public void upload(String dir,
                   String file,
                   byte[] bytes)
            throws IOException
Throws:
IOException

upload

public void upload(String dir,
                   String file,
                   byte[] bytes,
                   boolean keepAlive)
            throws IOException
Throws:
IOException

upload

public void upload(String dir,
                   String file,
                   String what,
                   boolean asc)
            throws IOException
Throws:
IOException

upload

public void upload(String dir,
                   String file,
                   String what,
                   boolean asc,
                   boolean keepAlive)
            throws IOException
Throws:
IOException

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.