Upload process algorithm