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