For such use case, I believe that it's better to download the file and edit the local copy. You want to have the file stored in a known well-defined location (not in a temporary folder), if you need to keep it ready for the review and future upload.
- martin