String zipscriptPath = settings.get("/zipscript/pzs_ng/path");
File f = new File(zipscriptPath);
if (!f.exists() || !f.isDirectory()) {
throw new ConfigurationException("Must specify an existing directory for /zipscript/pzs_ng/path");
}
zipscript = new PzsNgZipscript(zipscriptPath);
break;
case 1: // internal
zipscript = new CuftpdZipscript(settings.get("/zipscript/cuftpd/files"), new File(settings.get("/zipscript/cuftpd/template")), settings.get("/zipscript/cuftpd/short_name"));
break;
case 0: // NoZipscript