to modify the noun of the file jpg on the ftp to modify the noun of the file jpg on the ftp
 

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

to modify the noun of the file jpg on the ftp

Started by magic.m, October 31, 2004, 11:20:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

magic.m

Hello!  this text is translated automatically by a translator. I hope that it will be comprehensible.
I would like to know if it is possible to re-elect by ftp the name of an image deposited by a user (in the file userpics thus) without losing the bond towards the image on the photo gallery? As I think that that is not possible, how to make, most simply possible, to obtain this result?


Merci .

Joachim Müller

Renaming a file is not possible with any tool within coppermine once it exists in coppermine. If you must edit it, you will have to do so both in your database (using a tool like phpMyAdmin) and in your file/folder structure on your webserver (using your ftp app). This is not recommended though and unnecessary imo, as filenames don't matter that much and are hardly viewed (as you are suppossed to use title and caption in coppermine).
Why on earth do you want to do that?

Joachim

magic.m

why?
because certain user uses accents or many titles of files very long I like the things "clear and arranged". I found, I in parallel changed the name of the fichier.jpg in the base of data and the repertory.  thank you.

perhaps exists T-it an option to prevent the users from using the accents or names too long?

Joachim Müller

coppermine config: edit the field "Characters forbidden in filenames" and add "áàâéèêíìîóòôúùûÁÀÂÉÈÊÍÌÎÓÒÔÚÙÛäöüÄÖÜñÑ" and so on to the list that already exists in this field.

Joachim