er.extensions
Class ERXLinlyn
java.lang.Object
er.extensions.ERXLinlyn
- public class ERXLinlyn
- extends Object
Can upload and download files from ftp servers
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 |
log
public static ERXLogger log
- logging support
ERXLinlyn
public ERXLinlyn(String server,
String user,
String pass)
ERXLinlyn
public ERXLinlyn(String server,
int portNum,
String user,
String pass)
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
Copyright © 2002 – 2004 Project Wonder.