Skip to main content

Gilles

Member since Jun 20, 2012

Recent Blog Comments By Gilles

  • Using Plupload For Drag & Drop File Uploads In ColdFusion

    Posted on Sep 15, 2014 at 5:16 PM

    After the file is save via cffile (upload_files.cfm), why can't I access it and insert the name in my database with #cffile.serverFile# ?? The code: <cffile result="upload" action="upload" filefield="file" destination="#application.uploadsDirectory#" ... read more »

  • Using Plupload For Drag & Drop File Uploads In ColdFusion

    Posted on Sep 15, 2014 at 4:55 PM

    @dani In the upload_files.cfm, after the <cffile>, I try to get the file name to insert it in the database. Unfortunatelly, the #cffile.serverfile# does not seem to work... Any way to go around so I can get the name ?!? Thanks... read more »

  • Using Plupload For Drag & Drop File Uploads In ColdFusion

    Posted on Sep 15, 2014 at 4:18 PM

    @dani I added these lines in your code, just after the <scfscript> and it's working fine: this.name = hash( getCurrentTemplatePath() ); this.applicationTimeout = createTimeSpan( 0, 0, 10, 0 ); this.sessionManagement = false; Thanks so much, I'll add the code to insert the image name in the ... read more »

  • Using Plupload For Drag & Drop File Uploads In ColdFusion

    Posted on Sep 15, 2014 at 4:04 PM

    @dani No use, doesn't work... Is it possible to have a "translation" of the application.cfc in <cfcomponent> style ?!? Thanks Gilles... read more »

  • Using Plupload For Drag & Drop File Uploads In ColdFusion

    Posted on Sep 15, 2014 at 3:37 PM

    Hummm... I copied the GitHub folder on my server and changed the index.htm to index.cfm. This is what I get (from the application.cfc): Invalid CFML construct found on line 4 at column 9. ColdFusion was looking at the following text: output The CFML compiler was processing: A script statement b... read more »

  • Reading In File Data Using ColdFusion 8's New File Functions

    Posted on Jun 20, 2012 at 1:44 PM

    Also.... Is it possible to read just few lines in a file (and read the whole file in multiple steps) ?? Ex: read from 1 to 50 000 then from 50 001 to 100 000 then from 100 001 to 150 000 then....... read more »

  • Reading In File Data Using ColdFusion 8's New File Functions

    Posted on Jun 20, 2012 at 1:34 PM

    Hi, I try to read a 325Mb csv file with fileOpen but I get a Java error... Maybe the file is too big ? I tried with cffile, cfhhtp and I got "java.lang.OutOfMemoryError: Java heap space"; that's why I'm looking at fileOpen. Some help would be appreciated ! Thanks... 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