pre upload