Hi everyone,

I'm doing a file upload using standard HTML with the following form:

<form name="upload" action="processUpload.cfm" method="post"
enctype="multipart/form-data">
         <input type="file" name="file2Upload" size="40"><br>
         <input type="submit" value="Upload This File">
</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?

Thanks,
Phill Gibson
[EMAIL PROTECTED]



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