// theLogger.finest("Uploading zip: " + fileName + " entry: " + zipFileName);
if(!zipFileName.endsWith("/")) {
// Odd that create dir seems to do a recursive create, but file does not
userDirectory.create(new Path(zipFileName).removeLastSegments(1).toString()+"/");
IVResource uploaded = userDirectory.create(zipFileName);
os = uploaded.getOutputStreem();
while ((bytesIn = zis.read(buffer)) != -1) {
os.write(buffer, 0, bytesIn);