IIRC, the unique filenames only get assigned if a file exists with that
filename already. That is, if you upload two pictures named pic.gif, the
first one is stored as pic.gif and the second as A02983467.gif or something
wacky like that.
-- Ben Doom
Programmer & General Lackey
Moonbow Software, Inc
: -----Original Message-----
: From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, February 12, 2003 11:18 AM
: To: CF-Talk
: Subject: Re: cffile with unique names
:
:
: Are you saying that if you update picture.jpg and then output
: #cffile.serverFilename# it returns picture.jpg?
:
: And you have your CFFILE set to unique?
:
: Could you post your CFFILE code?
:
: Thanks
:
: Paul Giesenhagen
: QuillDesign
:
:
: ----- Original Message -----
: From: "Darren Adams" <[EMAIL PROTECTED]>
: To: "CF-Talk" <[EMAIL PROTECTED]>
: Sent: Wednesday, February 12, 2003 10:03 AM
: Subject: cffile with unique names
:
:
: > Hello,
: >
: > I am uploading an image and then inserting a record into the database.
: >
: > So that there are no name clashes I have set the tag to make unique
: > files names.
: >
: > However, when I refer to the uploaded file name e.g.
: > cffile.serverfilename etc.
: > It seems to list the name of the file before it was made unique.
: >
: >
: > Has anyone else experienced this and do you know what going on ?
: >
: >
: > Thanks,
: >
: > Darren Adams
: >
: >
: >
:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4