Hi Joel, You could get them to upload the zip file and then just unzip it ( if your on ColdFusion 8 ), using cfzip
http://www.cfquickdocs.com/cf8/?getDoc=cfzip#cfzip Regards, Paul Kukiel http://kukiel.instantspot.com -----Original Message----- From: Joel Polsky [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 August 2008 12:12 PM To: CF-Newbie Subject: Re: Upload entire folder Hi John, Thanks for the info.. An alternate option I thought of is uploading a zipped file - but in both cases, the zipped file must be extracted into the folder. What I'm trying to do is enable a VERY NOVICE person the ability to upload themes to a wordpress driven blog. (Which happens to run on a server with CF) Unless someone knows of a php them uploader plugin for WordPress! -- Joel > Hi Joel, > > with the upload code, it usually only handles a file at a time. You > could zip the files as well. > > simple case(one file): > <!--- upload.cfm---> > <cfform action="upload_finished.cfm" method="POST" > enctype="multipart/form-data"> > <table> > <tr> > <td>File:</td> > <td><cfinput type="file" name="FileToUpload" size="25" > maxlength="255"></td> > </tr> > <tr> > <td colspan="2"><cfinput type="submit" name="Submit" > value="Upload"></td> > </tr> > </table> > </cfform> > > <!---upload_finished.cfm---> > > <!--- Use the cffile tag to upload the file passed from the form to > our ColdFusion server ---> > <cffile action="Upload" > filefield="FileToUpload" > destination="where you want the files to be uploaded(ie. > C:/coldfuson8/wwwroot/Test)" > nameconflict="Overwrite" > attributes="Normal"> > <cfoutput> Your file as been uploaded to the server!</cfoutput> > > <!--- Output the results with cfdump ---> > <h2>cffile Upload Results:</h2> > <cfdump var="#cffile#"> > > Note-- the last part is not necessary, but I have been using cfdump > alot lately, and don't know how I ever lived without it! > > I did a google search,and found this from Ben, a blog that I like to > read > http://www.bennadel. > com/blog/1117-Ask-Ben-Uploading-Multiple-Files-Using-ColdFusion.htm > > hope this helps, > John > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3951 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
