def METHOD_NAME(self, srcFile, destPath):
    transport = paramiko.Transport((self.host, int(self.port)))
    transport.connect(username = self.user, password=self.passwd)
    sftp = paramiko.SFTPClient.from_transport(transport)
    try:
        sftp.put(srcFile, destPath)
    except IOError as e:
        raise e