Batch upload works, but... Batch upload works, but...
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Batch upload works, but...

Started by Webster, November 05, 2004, 02:14:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Webster

... Do the uploaded files stay in the folder I have created for upload? Is there any way to remove the already inserted pics from the Add Batch window, cause it's now a very loooooong list, which takes forever to load.

In the doc it says:

Once files have been added to coppermine's database, make sure not to rename or delete them by ftp - use coppermine's admin menu to remove files instead, since this way they will be removed both from the file system and the database.

...but I am not sure which option in the admin menu I need to use to remove the files (and remove which files exactly?)

Nibbler

Don't touch the files you uploaded by FTP. Leave them alone.

Webster

Okay, thanks for the reply, but what is the reason that the already uploaded files are still visible on the Add Batch screen? It makes it very tedious to find out which files still have to be put in which albums. Wouldn't it be easier to see only the files in the uploadfolder which haven't been put in an album?

Joachim Müller

Coppermine doesn't move files around, that's why it's recommended to mimick your category/album structure in the folder structure within the albums folder (where your ftp uploads go to), although it's not mandatory. "Batch-add" doesn't imply that they're removed after being added, don't you think? It just implies that more than one file is added (to the database) at once.
If you want to come up with some code that does what you're suggesting (only list folders with files that haven't been added yet) and that will still work for large coppermine galleries (10,000+ pics), you're welcome.
There will be another "browsable" batch-add option in the next version of coppermine though.

Joachim