| Retrieving a local directory listing |       | 
| To get a local directory listing of your current local directory use the Ftp#getLocalDirListing method. This returns a java.util.Enumeration of java.io.File objects. 
 Example 
 // get local directory listing Enumeration f = ftp.getLocalDirListing(); while(f.hasMoreElements()) { File file = (File)f.nextElement(); System.out.println(file.getName()); } 
 
 See also 
 |