.
Russ
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: 18 December 2006 04:49
To: CF-Talk
Subject: Re: Passing file from form to CFC
The upload process creates a struct called File containing a whole bunch of
information about the file you just uploaded, and what teh
If you're going to do the upload within the cfc, all you need to pass
is the name of the form field. In your cfc you'd have:
cfargument name=item required=true type=any
..
cffile action=upload filefield=#arguments.item#
destination=#arguments.path# nameconflict=makeunique
there is no argument type, so try
ANY.
Russ
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: 18 December 2006 04:49
To: CF-Talk
Subject: Re: Passing file from form to CFC
The upload process creates a struct called File containing a whole bunch of
information about the file
,
which his CFC is presumably going to do the CFFILE process for.
It is actually a binary file, for which there is no argument type, so
try
ANY.
Russ
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: 18 December 2006 04:49
To: CF-Talk
Subject: Re: Passing file from form
The upload process creates a struct called File containing a whole
bunch of information about the file you just uploaded, and what teh
upload process did with it.file size, renamed or not, location,
file type stuff like that.you can pass the whole struct in a
single swoop to the CFC if
5 matches
Mail list logo