构造器和说明 |
---|
FineFTPClient(FTPConfig config) |
限定符和类型 | 方法和说明 |
---|---|
void |
appendFile(java.lang.String file,
java.io.InputStream data) |
boolean |
cd(java.lang.String path) |
void |
disconnect() |
java.io.InputStream |
get(java.lang.String filePath) |
FineFileEntry |
getEntry(java.lang.String path) |
boolean |
isConnected() |
boolean |
login() |
boolean |
login(int timeout) |
void |
logout() |
java.lang.String[] |
ls(java.lang.String path) |
java.lang.String[] |
lsDir(java.lang.String path) |
FineFileEntry[] |
lsEntries(java.lang.String dir) |
long |
mdtm(java.lang.String path) |
boolean |
mkdir(java.lang.String path) |
void |
put(java.io.InputStream src,
java.lang.String dst) |
java.lang.String |
pwd() |
void |
rename(java.lang.String src,
java.lang.String to) |
boolean |
rm(java.lang.String path) |
boolean |
rmdir(java.lang.String path) |
long |
size(java.lang.String path) |
java.lang.String |
stat(java.lang.String path) |
public FineFTPClient(FTPConfig config)
public FineFileEntry[] lsEntries(java.lang.String dir) throws java.lang.Exception
public FineFileEntry getEntry(java.lang.String path) throws java.lang.Exception
public java.io.InputStream get(java.lang.String filePath) throws java.lang.Exception
public void put(java.io.InputStream src, java.lang.String dst) throws java.lang.Exception
public void rename(java.lang.String src, java.lang.String to) throws java.lang.Exception
public java.lang.String pwd() throws java.lang.Exception
public boolean mkdir(java.lang.String path) throws java.lang.Exception
public boolean rmdir(java.lang.String path) throws java.lang.Exception
public boolean rm(java.lang.String path) throws java.lang.Exception
public java.lang.String[] lsDir(java.lang.String path) throws java.lang.Exception
public java.lang.String[] ls(java.lang.String path) throws java.lang.Exception
public boolean cd(java.lang.String path) throws java.lang.Exception
public long mdtm(java.lang.String path) throws java.lang.Exception
public long size(java.lang.String path) throws java.lang.Exception
public void appendFile(java.lang.String file, java.io.InputStream data) throws java.lang.Exception
appendFile
在接口中 FineFTP
java.lang.Exception
public boolean isConnected() throws java.lang.Exception
isConnected
在接口中 FineFTP
java.lang.Exception
public void disconnect() throws java.lang.Exception
disconnect
在接口中 FineFTP
java.lang.Exception
public boolean login() throws java.lang.Exception
public boolean login(int timeout) throws java.lang.Exception