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: Rename files  (Read 2709 times)

0 Members and 1 Guest are viewing this topic.

Omni

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Rename files
« on: September 05, 2004, 03:40:43 pm »

Hi!
Is there a way to rename files before or after they are uploaded to the gallery?
E.g. if it used the URI: "http://www.somesite.com/download.php?dpath=/somepath/somefilename &dl=pic.jpg" to upload a file, then the name of this file will be "somefilename &dl=pic.jpg" :-\\ in the gallery.
1)Can the user give another name to this file? (e.g. a "Rename to:" field next to the URI box or in the page with the description fields after the upload proccess)
2)Is there a way for the Admin to rename the files that members have uploaded?

(I know I can rename it "by hand" and then update the DB field using e.g. myPHPAdmin, but I ask if there is a hack/mod uvailable for this task.)

Thanks in advance!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Rename files
« Reply #1 on: September 05, 2004, 08:20:53 pm »

did you have a look at the renaming section within the admin tools? Apart from this, coppermine won't touch the filenames, it will only replace illegal chars in it. Why would you want to rename them - after all, the filenames don't matter, as the database keeps track of the files?

Joachim
Logged

wickedsun

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Rename files
« Reply #2 on: January 31, 2005, 07:09:29 pm »

GauGau - its not a problem, but when using search it also searches for the file names which I dont want it to. I only want it to search what I entered into the database of text?
Logged

Nibbler

  • Guest
Re: Rename files
« Reply #3 on: January 31, 2005, 07:13:45 pm »

All already sorted in next version.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.