<?php private function deleteFile(string $path, $connection): void
{
$location = $this->prefixer->prefixPath($path);
$success = @ftp_delete($connection, $location);
if ($success === false && ftp_size($connection, $location) !== -1) {
throw UnableToDeleteFile::atLocation($path, 'the file still exists');