Skip to main content

Andrew Gargan

Member since Jul 10, 2009

Recent Blog Comments By Andrew Gargan

  • Ask Ben: Limit File Upload Size In ColdFusion

    Posted on Jul 10, 2009 at 8:47 AM

    This is after the upload of the file. The idea is to do Content Inspection to determine the MIME type of the file and this is something GNU file does really well. The internal Coldfusion file information stuff should be fine but you mentioned previously that the mime-type stuff was not so great. I... read more »

  • Ask Ben: Limit File Upload Size In ColdFusion

    Posted on Jul 10, 2009 at 5:24 AM

    oops forgot the util URL http://gnuwin32.sourceforge.net/packages/file.htm... read more »

  • Ask Ben: Limit File Upload Size In ColdFusion

    Posted on Jul 10, 2009 at 5:21 AM

    Just a thought. There is a nice GNU-Util you can use called "file" that is shipped with linux but also is available for windows. What it does is check the contents of a file to determine its type. This means you can identify files from their contents rather than an extension which is easily faked.... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel