Propagated the replace param to the upload request.