public class ERXLinlyn extends Object
Constructor and Description |
---|
ERXLinlyn(String server,
int portNum,
String user,
String pass) |
ERXLinlyn(String server,
String user,
String pass) |
Modifier and Type | Method and Description |
---|---|
void |
append(String dir,
String file,
String what,
boolean asc) |
boolean |
deleteFile(String dir,
String file)
Removes a file from a directory on the server.
|
boolean |
deleteFile(String dir,
String file,
boolean keepAlive) |
String |
download(String dir,
String file) |
String |
download(String dir,
String file,
boolean asc) |
String |
download(String dir,
String file,
boolean asc,
boolean keepAlive) |
String[] |
listFiles(String dir)
Returns a list of files and associated attributes in a given directory.
|
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) |
public String[] listFiles(String dir) throws IOException
IOException
public String download(String dir, String file) throws IOException
IOException
public String download(String dir, String file, boolean asc) throws IOException
IOException
public String download(String dir, String file, boolean asc, boolean keepAlive) throws IOException
IOException
public void append(String dir, String file, String what, boolean asc) throws IOException
IOException
public void upload(String dir, String file, String what) throws IOException
IOException
public void upload(String dir, String file, byte[] bytes) throws IOException
IOException
public void upload(String dir, String file, byte[] bytes, boolean keepAlive) throws IOException
IOException
public void upload(String dir, String file, String what, boolean asc) throws IOException
IOException
public void upload(String dir, String file, String what, boolean asc, boolean keepAlive) throws IOException
IOException
public boolean deleteFile(String dir, String file) throws IOException
IOException
public boolean deleteFile(String dir, String file, boolean keepAlive) throws IOException
IOException
Copyright © 2002 – 2020 Project Wonder.