public function delete(string $remoteFile)
    {
        if (!@ftp_delete($this->ftp, $remoteFile)) {
            throw new Exception(sprintf("Cannot delete file %s", $remoteFile));
        }

        return $this;
    }