code: def send_file(self, local_path, remote_path, unix_mode=None):
          
          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)
docs: 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