Does every file uploaded have a unique id? Does every file uploaded have a unique id?
 

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]

Main Menu

Does every file uploaded have a unique id?

Started by uuu288, March 12, 2007, 03:09:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uuu288

What about if 2 individual user upload their file in same file name? 

Does every file uploaded have a unique id?  How can we display them in the page?

Thanks,

Nibbler

Files are renamed if they conflict, and each has a unique id (pid). This is used for the static link in the picinfo section under the file in the intermediate view.

uuu288

Hi Nibbler,
Thanks for your fast reply.

Is it bossible to rename all the file once it is uploaded (or confirm uploaded) for later easy management?  So I can call every file easily?

BTW, where does the original file stored?  can it be reached by a link (to download)?

Thanks very much for you help! 
george



Joachim Müller

Quote from: uuu288 on March 12, 2007, 04:08:43 PM
Is it bossible to rename all the file once it is uploaded (or confirm uploaded) for later easy management?  So I can call every file easily?
Not recommended. You (the human) doesn't have to keep track of files - that's what Coppermine is designed for: it keeps track of filenames and locations, no need to rename stuff. Renaming files by custom patterns is not part of the Coppermine user interface. If you need this, you'll have to do so manually.

Quote from: uuu288 on March 12, 2007, 04:08:43 PMBTW, where does the original file stored?
Depends on the upload method (http uploads vs. FTP-upload plus batch-add. HTTP uploads go to /coppermine_folder/albums/userpics/XXXXX/, where XXXXX equals 10000 + user id. Take a look at it using your FTP app. Right-clicking on the image, choosing "properties" in the context menu is another option to find out the paths. Pretty basic stuff...

Quote from: uuu288 on March 12, 2007, 04:08:43 PMcan it be reached by a link (to download)?
Sure, see my answer above. There are mods that even display an explicit download link.


We have a "one question per thread" policy that you agreed to respect when signing up. Please do so in the future.

uuu288

Thanks GauGau for your kind reminder. 

Topic closed!