public function fput(string $remoteFile, $handle, int $resumePos = 0)
    {
        if (!@ftp_fput($this->ftp, $remoteFile, $handle, FTP_BINARY, $resumePos)) {
            throw new Exception(sprintf("Cannot copy data from file handle to %s", $remoteFile));
        }

        return $this;
    }