def METHOD_NAME(self, file_path, user_name, password, seq):
    user = curvesnapshot.CUserInfo_t()
    user.owner = user_name
    user.password = password
    finfo = curvesnapshot.CFInfo_t()
    rc = curvesnapshot.GetSnapShot(file_path, user, seq, finfo)
    if rc != 0:
        print ("get_snapshot fail! rc=%s" % rc)
        logger.error("get_snapshot fail! rc=%s" % rc)
        return rc
    else:
        logger.info("get_sanpshot_info , file snapshot info.status = %s, owner = %s, filename = %s, "
                    "length = %s, chunksize = %s, seqnum = %s, segmentsize = %s" % (
                        finfo.filestatus, finfo.owner, finfo.filename, finfo.length.value, finfo.chunksize.value,
                        finfo.seqnum.value, finfo.segmentsize.value))
        return finfo