DataInputStream in = null;
try {
String fileName;
in = new DataInputStream(request.getInputStream());
// 0) an int, the version of this datastream format - REMOTE_DEPLOY_REQUEST_VER
int reqVer = in.readInt();
// whenever we update the stream version, the next line needs to
// be changed to just - (reqVer >= REMOTE_DEPLOY_REQUEST_VER_0)
// but until then, be more restrictive so we can handle old deployers
// that don't send a version as the first thing, but a file count instead...
if ((reqVer >= REMOTE_DEPLOY_REQUEST_VER_0) && (reqVer <= REMOTE_DEPLOY_REQUEST_VER)) {