public class FtpUtil extends Object
| Constructor and Description |
|---|
FtpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
removeDirectory(org.apache.commons.net.ftp.FTPClient ftpClient,
String parentDir,
String currentDir)
Removes a non-empty directory by delete all its sub files and
sub directories recursively.
|
public static void removeDirectory(org.apache.commons.net.ftp.FTPClient ftpClient,
String parentDir,
String currentDir)
throws IOException
IOExceptionCopyright © 2015. All rights reserved.