public static bool modifyFile(string sourceFilePath, string fullPath, string lastWriteTime) { connectServer(); byte[] message = MessageAssembler.modifyFile(sourceFilePath, lastWriteTime); VerifyHandler.postMessage(clientSocket, message); VerifyHandler.verify(clientSocket); FileTransferHandler.postFile(clientSocket, fullPath); if (!VerifyHandler.verify(clientSocket)) { return(false); } return(true); }