IStorage settingsFile = settingsDir.newInstance(settingsDir, id + IDavinciServerConstants.SETTINGS_EXTENSION);
if(! user.isValid(settingsFile.getAbsolutePath()) ) return;
if (!settingsFile.exists()) {
settingsFile.createNewFile();
}
OutputStream os = new BufferedOutputStream(settingsFile.getOutputStream());
Command.transferStreams(req.getInputStream(), os, false);
}