org.crosswire.jsword.book.install.sword
Class FTPExample
java.lang.Object
org.crosswire.jsword.book.install.sword.FTPExample
public final class FTPExample
- extends Object
Prototype code
- Author:
- DM Smith
- See Also:
The GNU Lesser General Public License for details.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FTPExample
private FTPExample()
copyDirectory
static void copyDirectory(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module,
String destDir,
String currentDir)
throws IOException
- Throws:
IOException
copyFile
static void copyFile(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String file,
String destDir)
throws IOException
- Throws:
IOException
getSize
static long getSize(org.apache.commons.net.ftp.FTPClient ftpClient,
String sourceDir,
String module)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)