hello kiran,
i think you must have not understand the problem. Here the thing is, i've
got 3 butttons on the same page along with there is one more button called
submit. Once the user selected the 3 files then he submits the page. so
Obviously, there will be only one action page not more than that. In that
only one action page i need to catch the 3 filenames given by the user.
According to the documentation we can have only one filename if it exceeds
then the first one will be overwritten by the second file name.
i hope you must have understand the problem.
thanx
-----Original Message-----
From: Kiran Samudrala [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 6:32 PM
To: CF-Talk
Subject: RE: catching 3 filenames when using cffile
Buddy,
try writing three different actionpages wif 3 different file names to be
uploaded onto the server.
-----Original Message-----
From: Nagesh Kumar Deva [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 3:19 AM
To: CF-Talk
Subject: catching 3 filenames when using cffile
hi all,
can anybody help me out. I've got 3 input type="file" tags on my form. so
user can upload 3 files at a time.
i manage to store the files in the particular directory and the related
filenames in the database.If one input type="file" is there then no problem
ie just use the File.Clientfile to catch the filename given the user but
i've got three file inputs on my form. i'm getting the same filename when i
outputted the 3 filenames selected by the user rather they three are
different.
I tried with using arrayappend in the action form. i mean after one cffile
tag one arrayappend the same way i wrote three arrayappends. But doet it
works???? i mean my approach is correct? to trap the 3 filenames given by
the user?
i read the documentation, in that they clearly mentioned that "If two
cffiles tags execute, the results of the first are overwritten by the
subsequent cffile operation".
how should i do this??
thanx in advance
regards
nagesh
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.