You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a file filename.extension already exists in an export, a filename filename(1).extension should be assigned, with the number incremented as required. It's important that the number is before the extension, to not break file handling that is dependent on the extension (e.g., for DOCX files).
In terms of avoiding race conditions during numbering, we can assume that files are exported sequentially, i.e. the user can not kick off a new export operation until a previous one has been completed.
The text was updated successfully, but these errors were encountered:
eloquence
changed the title
Iterate on folder and filename management for exports
Handle filename conflicts during exports
Jul 17, 2019
If a file
filename.extension
already exists in an export, a filenamefilename(1).extension
should be assigned, with the number incremented as required. It's important that the number is before the extension, to not break file handling that is dependent on the extension (e.g., for DOCX files).So, for example:
benign artichoke/secret_document.pdf
benign artichoke/secret_document(1).pdf
benign artichoke/secret_document(2).pdf
glued trajectory/trustme.exe
In terms of avoiding race conditions during numbering, we can assume that files are exported sequentially, i.e. the user can not kick off a new export operation until a previous one has been completed.
The text was updated successfully, but these errors were encountered: