8 Replies Latest reply on Feb 19, 2013 5:22 AM by BreakawayPaul

    cffileupload doesn't seem to be uploading

    BreakawayPaul Level 2

      I'm working on building my own photo galllery now that CF has provided this nifty multi-file upload box.  The problem is, I can't seem to get it to do what I want.


      My idea for the album is to upload everything to a working folder on my website, then have a script resize them (making thumbnails and main images) before moving them to where they'll actually go.  But right now, I can't get anything to "upload".  Upload is in quotes, because right now, this is all local to my PC.  I'm running CF10/Apache2.2.22/MySQL 5.5.28/Ubuntu 12.10.


      Right now, here's what I have on my upload.cfm page:

      <cfset session.storage = replace(createUUID(), "-","_","all")>

      <cffileupload width="640" extensionfilter="jpg,jpeg,png" url="photomanage.cfm?#urlEncodedFormat(session.urltoken)#" name="photos" />


      (The UUID stuff is from Ray Camden's tutorial).


      And here's what's in photomanage.cfm:

      <cffile action="uploadAll" destination="/var/www/manage/upload" nameconflict="makeunique">


      Knowing me, there's probably something obvious that I'm doing wrong, but if I knew what that was, I wouldn't be bugging you guys.


      If I can get it to upload files, my next step will be to associate the uploads with a particular album, but if I can't do that on upload, I can always associate them in the next step, so no biggie.