Code:
DbxEntry.WithChildren listing = client.getMetadataWithChildren("/Test");
System.out.println("Downloading...");
for (DbxEntry child : listing.children) {
if(child.isFile()) {
System.out.println(" " + child.name + ": " + child.toString());
FileOutputStream outputStream = new FileOutputStream(child.name);
try {
DbxEntry.File downloadedFile = client.getFile("/"+child.name, null,
outputStream);
System.out.println("Metadata: " + downloadedFile.toString());
} finally {
outputStream.close();
}
}
}
EDIT:
Code:
DbxEntry.File downloadedFile = client.getFile("/Test/"+child.name, null,
outputStream);
lg






