public class FTPClient
extends java.lang.Object
Constructor and Description |
---|
FTPClient(java.lang.String ftpUrl,
java.lang.String username,
java.lang.String password,
java.lang.String changeToDir,
boolean makeDir) |
Modifier and Type | Method and Description |
---|---|
byte[] |
get(java.lang.String serverFileName,
boolean delete) |
java.util.List |
getAllFiles(int batchSize,
boolean delete) |
void |
put(java.lang.String serverFileName,
byte[] fileData) |
public FTPClient(java.lang.String ftpUrl, java.lang.String username, java.lang.String password, java.lang.String changeToDir, boolean makeDir) throws java.lang.Exception
java.lang.Exception
public void put(java.lang.String serverFileName, byte[] fileData) throws java.lang.Exception
java.lang.Exception
public byte[] get(java.lang.String serverFileName, boolean delete) throws java.lang.Exception
java.lang.Exception
public java.util.List getAllFiles(int batchSize, boolean delete) throws java.lang.Exception
java.lang.Exception