Thanks Jason, it works like a charm.
Dave
----- Original Message -----
From: "Gary McNeel, Jr." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 05, 2001 12:49 PM
Subject: RE: CFMAIL question
Read-up more on CFFILE. It can handle that for you. First it checks for a
file with the same name in the appropriate directory. If it finds one it
automagically renames the uploaded file to something like AC109.exe
(whatever). It returns the new file name to you in a variable that you can
manipulate (like storing it in a database as a pointer, etc.).
-Gary
> -----Original Message-----
> From: Dave Hannum [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 05, 2001 10:14 AM
> To: CF-Talk
> Subject: Re: CFMAIL question
>
>
> How do you handle the possibility of duplicate file names? If you have a
> handler, that would be good enough (or I can write a handler to uniquely
> rename each file)
>
> Thanks,
> Dave
>
>
> =================================
> "What we need is a list of specific unknown problems we will encounter"
>
> David Hannum
> Web Analyst/Programmer
> Ohio University
> [EMAIL PROTECTED]
> (740) 597-2524
>
>
>
> ----- Original Message -----
> From: "James Taavon" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, January 05, 2001 10:59 AM
> Subject: Re: CFMAIL question
>
>
> Dave, I have an app that does something similar, but the file is
> uploaded to the server ina specifoed directory where it can be
> retrieved. Is that good enough?
>
>
> Dave Hannum wrote:
> >
> > Hello,
> >
> > I have an application where the client wants to be able to have
> customers
> > submit information and a document using CFMAIL via a web form. Does
> someone
> > have an example they can share where they do this. User fills
> out a form
> > and then attaches a file from their local hard drive and it is submitted
> to
> > owner via CFMAIL.
> >
> > Thanks,
> > Dave
> >
> > =================================
> > "What we need is a list of specific unknown problems we will encounter"
> >
> > David Hannum
> > Web Analyst/Programmer
> > Ohio University
> > [EMAIL PROTECTED]
> > (740) 597-2524
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists