This is a multi-part message in MIME format.

------=_NextPart_000_011E_01BFF806.673DAA50
Content-Type: text/plain;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Question about CFFile???You will need to use the CFFILE =
action=3D"RENAME" attribute to accomplish this after the file is =
uploaded and saved.  The FILE "collection" is read-only.

DC

  ----- Original Message -----=20
  From: [EMAIL PROTECTED]=20
  To: [EMAIL PROTECTED]=20
  Sent: Thursday, July 27, 2000 19:45
  Subject: Question about CFFile???


  Ok, what i am trying to do is let a person upload two different =
picture=20
  files....=20

  Now i want to append some text to the name of the file that they are=20
  uploading....=20

  is there a way to do this?=20

  i am using this, but it's not working....=20

  <cfset RegularPhoto =3D "#FORM.RegularPhoto#regular.jpg">=20
  <cfset File.ServerFile =3D #RegularPhoto#>=20

  <cffile Destination =3D "D:\pictures"=20
      ACTION =3D UPLOAD=20
      FILEFIELD =3D "RegularPhoto"=20
      ACCEPT =3D "image/jpeg, image/jpg, image/pjpeg">=20

  ??????=20

  is there something i am doing wrong or not including?=20
  =
-------------------------------------------------------------------------=
-----=20
  Archives: http://www.mail-archive.com/[email protected]/=20
  To Unsubscribe visit =
http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dlists/cf_ta=
lk or send a message to [EMAIL PROTECTED] with =
'unsubscribe' in the body.


------=_NextPart_000_011E_01BFF806.673DAA50
Content-Type: text/html;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Question about CFFile???</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You will need to use the CFFILE =
action=3D"RENAME"=20
attribute to accomplish this after the file is uploaded and saved.&nbsp; =
The=20
FILE "collection" is read-only.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>DC</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:[EMAIL PROTECTED]" =
[EMAIL PROTECTED]>[EMAIL PROTECTED]</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:[EMAIL PROTECTED]"=20
  [EMAIL PROTECTED]>[EMAIL PROTECTED]</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 27, 2000 =
19:45</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Question about =
CFFile???</DIV>
  <DIV><BR></DIV>
  <P><FONT size=3D2>Ok, what i am trying to do is let a person upload =
two=20
  different picture </FONT><BR><FONT size=3D2>files....</FONT> </P>
  <P><FONT size=3D2>Now i want to append some text to the name of the =
file that=20
  they are </FONT><BR><FONT size=3D2>uploading....</FONT> </P>
  <P><FONT size=3D2>is there a way to do this?</FONT> </P>
  <P><FONT size=3D2>i am using this, but it's not working....</FONT> =
</P>
  <P><FONT size=3D2>&lt;cfset RegularPhoto =3D=20
  "#FORM.RegularPhoto#regular.jpg"&gt;</FONT> <BR><FONT =
size=3D2>&lt;cfset=20
  File.ServerFile =3D #RegularPhoto#&gt;</FONT> </P>
  <P><FONT size=3D2>&lt;cffile Destination =3D "D:\pictures"</FONT> =
<BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp; ACTION =3D UPLOAD</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp; FILEFIELD =3D "RegularPhoto"</FONT> =
<BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp; ACCEPT =3D "image/jpeg, image/jpg,=20
  image/pjpeg"&gt;</FONT> </P>
  <P><FONT size=3D2>??????</FONT> </P>
  <P><FONT size=3D2>is there something i am doing wrong or not =
including?</FONT>=20
  <BR><FONT=20
  =
size=3D2>----------------------------------------------------------------=
--------------</FONT>=20
  <BR><FONT size=3D2>Archives: <A=20
  href=3D"http://www.mail-archive.com/[email protected]/"=20
  =
target=3D_blank>http://www.mail-archive.com/[email protected]/</A=
></FONT>=20
  <BR><FONT size=3D2>To Unsubscribe visit <A=20
  =
href=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&amp;body=3D=
lists/cf_talk"=20
  =
target=3D_blank>http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&am=
p;body=3Dlists/cf_talk</A>=20
  or send a message to [EMAIL PROTECTED] with =
'unsubscribe' in=20
  the body.</FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_011E_01BFF806.673DAA50--

------------------------------------------------------------------------------
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