public final class FTPExample extends Object
The GNU Lesser General Public License for details.| Modifier | Constructor and Description |
|---|---|
private |
FTPExample() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
copyDirectory(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module,
String destDir,
String currentDir) |
(package private) static void |
copyFile(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String file,
String destDir) |
(package private) static long |
getSize(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module) |
static void |
main(String[] args) |
static void copyDirectory(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module,
String destDir,
String currentDir)
throws IOException
IOExceptionstatic void copyFile(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String file,
String destDir)
throws IOException
IOExceptionstatic long getSize(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module)
throws IOException
IOExceptionpublic static void main(String[] args)