//System.out.println("destination " + pathDest);
this.getStorageManager().saveFile(pathDest, isProtected, is);
}
}
} else {
AbstractMonoInstanceResource monoResource = (AbstractMonoInstanceResource) resource;
ResourceInstance resourceInstance = monoResource.getInstance();
String path = folder + resourceInstance.getFileName();
//System.out.println("source " + path);
InputStream is = this.getStorageManager().getStream(path, true);
if (null != is) {
String pathDest = folderDest + resourceInstance.getFileName();