Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Batch upload works, but...  (Read 7941 times)

0 Members and 1 Guest are viewing this topic.

Webster

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Batch upload works, but...
« on: November 05, 2004, 02:14:03 pm »

... 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?)
Logged

Nibbler

  • Guest
Re: Batch upload works, but...
« Reply #1 on: November 05, 2004, 02:21:38 pm »

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

Webster

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Batch upload works, but...
« Reply #2 on: November 05, 2004, 02:55:02 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch upload works, but...
« Reply #3 on: November 05, 2004, 04:16:44 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.