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
IOException
public void login(String user, String pass) throws IOException
IOException
public void quit()
public void setBinary() throws IOException
IOException
public void setAscii() throws IOException
IOException
public String getFileAsString(String dir, String file) throws IOException
IOException
public String getDirectory(String dir) throws IOException
IOException
public void append(String dir, String file, String what) throws IOException
IOException
public void put(String dir, String fileName, File file) throws IOException
IOException
public void put(String dir, String file, String what) throws IOException
IOException
Copyright © 1999–2025 ViaOA. All rights reserved.