OK, let me explain where a temporary folder is involved: inside the
albums-folder, you'll find a sub-folder named "
edit" - that's the only temporary folder coppermine is using. It is being used for internal purposes only: if you use http uploads and the user has already uploaded several pics, they go to that folder first. The user then has to assign the uploaded files to albums, which is the moment when the uploaded files get moved from the temporary folder to the actual sub-folders of the userpics folder. If he doesn't assign the uploaded files to albums (or something goes wrong), the temporary files remain in the
edit-folder, where the garbage collection takes care of them from time to time and deletes older temporary files. This mechanism is necessary because the http upload mechanism can be tricky to handle, seen from the perspective of a programmer: al kind of weird things could happen (the files could be too large, there could be no more webspace left, the target folder might lack the needed write permissions for the script. Using the temporary folder for http uploads just makes coppermine's http upload mechanisms more reliable, which was the reason why it has been designed the way it is.
FTP uploads are a totally different animal: as the initial FTP upload isn't being performed by coppermine, but the user himself (using his FTP client), it's his task to make sure the files he tried to upload are actually there where they are expected. What the batch-add process does is adding the files that already are physically where you want them to be to the database. To make sure that you understand this concept: the database itself doesn't contain the files - think of it as a logical structure only, that keeps track of the physical location of the files and some other parameters (like dimensions, the album the file resides in etc.). Think of the database as a phone book that doesn't actually contain the people it lists, nor does it contain wires nor phones: all a phone book consists of are records that point to something in real life (a person's name & address & phone number).
I too thought it was a temp dir structure for the ftp upload and that they were moved to a different database after the batch add.
Now I wish I had set up the file structure a little different so it would more mirror the actual albums, some old dawgz just need to learn the new tricks.
This piece of advice has already been there all along the different versions of coppermine; from the
docs:
Uploading pics by FTP / Batch-Add Pictures
It is recommended that the coppermine admin use ftp to upload multiple pics/files at a time. Use your ftp software to create sub-folders within your_coppermine_directory/albums/, where your ftp uploads can be saved. Though not mandatory, it's always a good idea to have a folder structure within the albums folder that reflects or mirrors your coppermine categories and albums.
Marking thread as "solved".