LPS-48873 Upload as a temp file