Loading...
 
Skip to main content

Batch upload zip file with a subdir structure

Status
Closed
Subject
Batch upload zip file with a subdir structure
Version
2.x
Category
  • Usability
  • Feature request
Feature
File Gallery (elFinder or standard UI)
Resolution status
New
Submitted by
Bernard TREMBLAY
Lastmod by
Landry Bitege
Rating
(0)
Description

When you create a zip which contains subdirs the system seems to work but nothing is done.
tikiwiki accepts only a zip file with one level to load a lonely galery.
This can be, should be enhanced

This is the bug : it must not don nothing without an error message.


The enhanced functionalities :

Now what is the most important problem. When you want to upload many files they are generally into a structure of directories and subdirs with some levels.
This subdirs structure fits with a meaning, groups of file, with same properties and generally the groups that you want to retrieve into the gallery structure (galleries hierarchy).
Generally the files systems don't support libel, comments etc... that be easily communicated, which informations we can hold with the tikiwiki file gallery.

The consequency of these premises is that the best way to load such a structure is that the zip subdir structure should be imported as a gallery structure with the attached files.
After the galery manager can enhance the information (files names, sub-galeries names, comments, properties, rights etc...)

Further the problem of upgrading a voluminous file galery :
1- security and reliability : such load could not be done only into an empty galery without sub ones neither files
2- the system could memorize the subdir names and accept zip upgrades if the structure fits. First same dependencies, accept new subdir and new files, and following the update options of files with same name accept the upgrade keeping associated informations.

Solution

1- error message if zip file has subdirs
2- documentation update
3- discuss the best usefull enhancement and linked problems
4- development

Workaround
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2241
Created
Monday 22 December, 2008 00:48:20 UTC
by Unknown
LastModif
Tuesday 14 April, 2026 18:46:07 UTC


Show PHP error messages