Here's my problem, I'm trying to upload 2 photos with a user signup form,
but I need to allow for the fact that some people will have the same
filenames, I used the following lines of code for the photos:

        <cfif picold gt 0>
                <cffile action="UPLOAD" filefield="picold" destination="c:/My
Documents/Websites/rhs.org/pics/" nameconflict="MakeUnique">
                <cfset FORM.picold = "#FILE.ServerFile#">
        </cfif>

        <cfif picnew gt 0>
                <cffile action="UPLOAD" filefield="picnew" destination="c:/My
Documents/Websites/rhs.org/pics/" nameconflict="MakeUnique">
                <cfset FORM.picnew = "#FILE.ServerFile#">
        </cfif>

Then the second is the same, except the filefield is "picnew" ... however, I
get an "Unspecified Error" when I try to upload 2 photos that are already in
the directory. The first one gets a unique filename, but the second throws
and error.

Any help greatly appreciated!

Joshua Miller
Web Site Development
Eagle Technologies Group
Business Solutions for the Next Generation
www.eagletgi.com
[EMAIL PROTECTED]

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to