upload preparation, upload done