Using the batchupload command on the console it should be possible to set what to do when there is a duplicate file detected, when you upload a file with the same name than a file that is already in the file gallery.
--duplicatedFileReplacesPrevious
To replace the file with the new one and delete the previous.
--duplicatedFileIgnored
To Ignore new one if a file with the same name is already there.
It seems it should be the default, but it is not applied (tested on Tiki22, 23 and 24)
Additionally the process allow a file gallery to be created if it doesn't exist;
--createSubgals
Providing the value for "Maximum number of archives for each file" in newly created file gallery.
--createdSubgalMaxNumArchives=1
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |