I wish I could pull one up for you, but I haven't used a Mac
in almost three years.  But the point remains, files often
don't have extensions.

When you use the CFFILE tag, you can use the ACCEPT parameter
to make sure users only upload the type of files you want.
For example image/gif.  If you want to make sure you don't
miss anything, and you have the mime types 100% correct, you
can set up a sample script on your end.  Just do an input
type=file (don't forget the enctype param in the form), and
on the action page, output #file.ContentType#/#file.ContentSubType#.

Hope that helps.

-Erik Voldengen

-----Original Message-----
From: Andrew Tollervey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 8:08 AM
To: Fusebox
Subject: Re: Accepted Files for Uploading


Bloody Macs. Do you have an example?
----- Original Message -----
From: "Erik Voldengen" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 2:47 PM
Subject: RE: Accepted Files for Uploading


> Macintosh files often don't even have a file extension.  The mime type
> is a good thing to look at to be safe.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to