*/
DataOutputStream out = null;
try {
out = new DataOutputStream(response.getOutputStream());
// 0) an int, the version of this datastream format - REMOTE_DEPLOY_RESPONSE_VER
out.writeInt(REMOTE_DEPLOY_RESPONSE_VER);
// 1) a UTF string, the status (should be "OK")
out.writeUTF(status);
if (filesCreated == fileCount) {
// 2) an int, the number of files received
out.writeInt(fileCount);