Send a file to the remote host.
        :param local_path: the local path of the file
        :type local_path: str
        :param remote_path: the remote path of the file
        :type remote_path: str
        :return: the file attributes
        :rtype: paramiko.sftp_attr.SFTPAttributes

def send_file(self, local_path, remote_path, unix_mode=None):
        """Send a file to the remote host.
        :param local_path: the local path of the file
        :type local_path: str
        :param remote_path: the remote path of the file
        :type remote_path: str
        :return: the file attributes
        :rtype: paramiko.sftp_attr.SFTPAttributes
        """
        self._check_started()
        sftp = paramiko.SFTPClient.from_transport(self._transport)
        sftp.put(local_path, remote_path)
        if unix_mode:
            sftp.chmod(remote_path, unix_mode)