Uploading a directory |
|
|
You can upload an entire directory using the Ftp#uploadDir method and a File representing a directory on your local system.
Example
// upload the c:\tmp directory ftp.uploadDir(new File("c:/tmp")); |