Init upload.