Once CFFILE has uploaded the file, you can use the CFFILE vars to get
the original file name. For starters, try outputting some of these:

CFFILE.ServerFile
CFFILE.ClientFileName
CFFILE.ClientFileExt

And you'll get the hang of it.

-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 9:46 AM
To: CF-Talk
Subject: CFFILE/GetFileFromPath Problem


Hi everyone,

I've ran into a weird problem I can't get around. I'm using the CFFILE
tag 
to upload some files. As you know, you have to use the 
enctype="multipart/form-data" attribute within the CFFORM tag for CFFILE
to 
work. But this causes a problem with the GetFileFromPath function
because 
when I'm uploading pdf's its converting the names of the files to a .tmp

file instead of a .pdf. How can I get around this?

Thanks

Sal

_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.


______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to