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
I have three jpg files, and they have same name.
I deal with them like this: archive.entry(filestream, { name: ${folderName + item.info.name} }, (err, entry) => { ... }
And the result is, I get a zip file, unarchive it, there is only one jpg.
Is there any options to avoid this?
BTW, the api documentation page is 404.
The text was updated successfully, but these errors were encountered:
I faced a similar issue, and to avoid file name collisions I maintained a map(name, occurence) to keep a track of all file names
If I found a duplicate, I added a suffix 1, 2, 3 ...
I have three jpg files, and they have same name.
I deal with them like this:
archive.entry(filestream, { name:
${folderName + item.info.name}}, (err, entry) => { ... }
And the result is, I get a zip file, unarchive it, there is only one jpg.
Is there any options to avoid this?
BTW, the api documentation page is 404.
The text was updated successfully, but these errors were encountered: