Thumbs.db Thumbs.db
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Thumbs.db

Started by RS232, June 01, 2005, 07:44:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RS232

What about a filter when batch uploading?
e.g. I usually upload a full directory from Windows to Linux and with it of course the windows system file: Thumbs.db
What about exclude it from the list of the file to upload?
I know I have just to unset the flag next to the file when uploading, but I think nobody care about it even if it is present everywhere

just an idea
rs232

Joachim Müller

not sure what you mean, can't replicate

kegobeer

Sounds like your FTP client is set to see and upload hidden files.  Turn it off and your problem will disappear.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

even if files that have the extension "db" are uploaded, they should not be added to coppermine's database, as they're not in the allowed filetypes list (unless you deliberately added the extension, which would not be a clever thing to do). I can't see the point of this request.

Tranz

It would be nice if the file doesn't display, at least, the way the userpics folder doesn't display. It's more of an aesthetic thing, I guess.

Joachim Müller

The reason why the userpics folder is not displayed: things will go wrong if you allow batch-add from there, and it is easy to do.
To do this properly (hide all filetypes that are not allowed), you would have to hide all files that don't have an extension allowed in coppermine, which would require some additional checks when the folder/file tree is being built up in searchnew.php. As the process is already time-critical if a user has a huge number of files in a folder, I'm not sure this should be done (added danger of time-outs). Removing files that have the extension "db" (hard-coded) is not an option, as there might be users who deliberatly want to add "db" to the allowed file types list.

Conclusion: this request is not top priority, but if some dev wants to add it to the code in the future, I wouldn't mind.

Flagging this thread as "valid", but I'm not moving it to the "approved" section. Any dev who wants to assign this to himself, please reply accordingly and then move to "approved"

Tranz

I see your points, GauGau. Maybe this is better off as a hack.