Skip to main content

Adam

Member since Dec 11, 2008

Recent Blog Comments By Adam

  • Learning ColdFusion 8: CFDirectory Improvements

    Posted on Sep 22, 2011 at 3:51 PM

    How can the size of the directory be determined?... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Jul 19, 2011 at 1:54 PM

    Hi - I'm trying to use this method to validate and upload multiple files. Is the best approach to replicate the code for handling one for each and every other file I want uploaded and rename the elements accordingly? Thank you.... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Jul 12, 2011 at 1:27 PM

    Okay - I've double checked this time. What I want to accomplish is to have the user's file renamed to a designated name once it passes validation. The validation works in checking that the form field is not empty nor contains a file that is not designated. However, using the following cod... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Jul 12, 2011 at 12:27 PM

    Scratch that...I am my own worst enemy and found my error.... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Jul 12, 2011 at 12:25 PM

    Hi Ben - I have successfully used a variation of your code to complete my task. I am wondering, however, if there is something with docx files that will not pass the error checking: <cfif NOT ListFindNoCase( "pdf,doc, docx, rtf", CFFILE.ServerFileExt )> Simply adding the docx ex... read more »

  • Learning ColdFusion 8: CFDirectory Improvements

    Posted on Jan 25, 2010 at 9:29 AM

    @Ben - Thank you for the reply. I understand that I can directly link to the files, but is using cfdirectory in conjunction with expandPath not possible? I am using expandPath within cfdirectory to read the files. I name it "nomineeFiles." I then output the query "nomineeFiles" and reference "... read more »

  • Learning ColdFusion 8: CFDirectory Improvements

    Posted on Jan 22, 2010 at 9:38 PM

    Thanks Ben - I seem to have an issue with the expandPath method and the directory it references. If I may expand upon this issue, I am trying to reference a directory of files visitors have uploaded. Those files reside in a path like this: site/awards/chancellorsProfessors/nominationUploads/#fn... read more »

  • Learning ColdFusion 8: CFDirectory Improvements

    Posted on Jan 22, 2010 at 3:56 PM

    How may I utilize <cfdirectory> to list all the files in a directory as well as provide links to the files?... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Oct 12, 2009 at 3:30 PM

    Hi Ben - In order to make this form function with multiple uploads, would I need to duplicate the code <cfelseif ArrayLen( arrErrors )> <!--- The file has been selected, but there are errors caused by other parts of the form validation. Therefore, we now have a file that is just sittin... read more »

  • Win A FREE Ticket To CFUNITED 2009

    Posted on Jul 31, 2009 at 2:35 PM

    I'd like to go to the ColdFusion (advanced) session. I'm still sorting things out and would like to get a better understanding of what I can do and make projects happen without the stress of trying to figure out "where do I go from here?"... read more »

  • My 1,000th ColdFusion Post - What It Means To Me (And Free Prizes)

    Posted on Jan 23, 2009 at 11:28 AM

    Hi Ben - I was thrown into CF when I started my career. I had no idea what was going on. I found it to be quick to learn and very powerful to use. I advanced my knowledge and skills quickly...some of it with your help! As I have advanced in my professional career, I have convince employers to ... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Nov 3, 2008 at 10:15 AM

    remove this section: # <cfif NOT Len( FORM.resume )> # # <cfset ArrayAppend( # arrErrors, # "Please select a resume to upload" # ) />... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Nov 3, 2008 at 9:50 AM

    If you're attempting to upload an image, it will error out as only PDFs, DOCs, and RTFs are accepted.... read more »

  • Not Commenting And The Tipping Point Of Poor Programming

    Posted on Jun 5, 2008 at 10:58 AM

    When going through school, it was always preached to comment your code. I did for my projects and for my own benefit. When I started out professionally, my mentors did not comment their code because there wasn't "enough time." I did pick up this bad habit, but have recently corrected myself and b... read more »

  • DreamWeaver CS3 Slows Me Down

    Posted on Feb 18, 2008 at 12:35 PM

    I have always used Dreamweaver. We were introduced in college and have been together ever since. I have recently launched a revamped website that uses library objects that are defined in DW's "assets" panel. When switch from File to Asset, DW freezes for about a minute. The same occurs in the op... read more »

  • Ask Ben: Upload And Email File Using ColdFusion

    Posted on Dec 4, 2007 at 1:50 PM

    Hi Ben - I am using some of this code for a presenter form on my site. Like Jim, and me being a newb, I would like to have multiple file uploads. Could you elaborate a bit further on your response to Jim? I am trying to get users to upload a resume and a presentation file, but only the alst fil... 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