1 Reply Latest reply on Apr 10, 2007 7:59 AM by insuractive

    Cffunction adn cffile upload

      Hello to everyone !

      I have a problem to upload a file with cffunction :

      i created a cfc with a function 'upload' :
      <cffunction name="upload" access="remote" returntype="void">
      <cfargument name="image_big" type="any" required="no">
      <cffile action="upload" fileField="#arguments.image_big#" destination = "mylocation" nameConflict="overwrite" accept="image/*">

      but it doesn’t work with out submitting the form .. pleas help ..
      thanks !