Any idea why CFFILE Write does not support making it unique but CFFile Upload does?
I’m using CFFILE Write to handle a GetHttpRequestData, and being able to support making it unique would be very helpful. Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, it doesn’t. You’ll have to roll your own unique names by first checking if the file exists and if it does, then add on some additional character(s) and repeat check/add until you’ve found something unique.
Alternatively, you always prepend something that ought to be fairly unique (e.g. date-time-incremental number).