sendStatus(id, SSH_FX_FILE_ALREADY_EXISTS, path);
return;
} else if (!file.isWritable()) {
sendStatus(id, SSH_FX_FAILURE, "Can not create " + path);
}
file.truncate();
break;
}
case SSH_FXF_OPEN_EXISTING: {
if (!file.doesExist()) {
if (!file.getParentFile().doesExist()) {