public class OAFtpClient extends Object
| Constructor and Description |
|---|
OAFtpClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(String dir,
String file,
String what) |
boolean |
connect(String server) |
String |
getDirectory(String dir) |
String |
getFileAsString(String dir,
String file) |
void |
login(String user,
String pass) |
void |
put(String dir,
String fileName,
File file) |
void |
put(String dir,
String file,
String what) |
void |
quit() |
void |
setAscii() |
void |
setBinary() |
public boolean connect(String server) throws IOException
IOExceptionpublic void login(String user, String pass) throws IOException
IOExceptionpublic void quit()
public void setBinary()
throws IOException
IOExceptionpublic void setAscii()
throws IOException
IOExceptionpublic String getFileAsString(String dir, String file) throws IOException
IOExceptionpublic String getDirectory(String dir) throws IOException
IOExceptionpublic void append(String dir, String file, String what) throws IOException
IOExceptionpublic void put(String dir, String fileName, File file) throws IOException
IOExceptionpublic void put(String dir, String file, String what) throws IOException
IOExceptionCopyright © 1999–2025 ViaOA. All rights reserved.