2 ms·
Wouldn't it be simpler to upload a file with a tmp name and then at the end rename the file if there was no error? Renaming is pretty much an atomic operation.
by cm2187 8y ago
Wouldn't it be simpler to upload a file with a tmp name and then at the end rename the file if there was no error? Renaming is pretty much an atomic operation.
- mjevans 8y agoIt would be, but they might not have the latitude to dictate the connection AND it might be multiple-file batches.