upload encode_sample_data