> I'm doing a file upload using standard HTML with the following form:
> ...
> but it only reads the file contents if the file has a ".txt" extension.
> I can rename an ASCII file from a different extension to .txt, and it
> works.
>
> Does anyone know how to specify a file extension other than .txt and
> have it work? 

What are you doing with the uploaded file? It sounds like you're simply
treating it like you would any other form variable. Typically, you use
CFFILE to save the uploaded file to the filesystem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to