Thanks, Ian... But I've given up on implementing a solution for directory uploads. Too much trouble...I'll just give the client a page with 10 CFFILE upload fields so they can load 10 photos at a time that way. Just thought there would be a way to do it more easily from within CF...
Surely, since CF is so Java-based now (I'm still on 4.5.2), there ought to be a way for some of you Java gurus to build a tag that would accomplish this. <CFDIRECTORY Action="Upload"...> Rick -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:36 AM To: CF-Talk Subject: RE: How to Browse and Choose Directory... Again ColdFusion/Macromedia have nothing to do with this, this is entirely on the client end. You have to look to client technologies: such as JavaScript, ActiveX, Java, C++ and many others. Of course as you head down this road, you are quickly going to run into compatibility issues. For example, ActiveX solutions are going to be Windows/IE only. You will also run into security issues, for example if I turn off active x controls, then I will not be able to use that solutions. If you feel like sticking with Macromedia here is a quick Flash file upload widget I found through Google. It is still single file, but I suspect it could be tweaked to allow directory upload, but then again maybe not. http://www.flashcfm.com/tutorials/flash_file_upload_082801/ -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning .....-----Original Message----- .....From: Rick Faircloth [mailto:[EMAIL PROTECTED] .....Sent: Thursday, March 10, 2005 7:26 AM .....To: CF-Talk .....Subject: RE: How to Browse and Choose Directory... ..... .....Thanks, Kola... ..... .....I'll check into those... ..... .....And the fact that these are so easily found and, apparently, .....some of them work so easily, shows that this can and has been done. .....Therefore, someone believes the functionality is worth the security risk. ..... .....I'm just surprised this was never implemented in HTML / CF...seems like .....such an obviously desirable and basic function...one step beyond file .....upload. ..... .....Rick ..... .....-----Original Message----- .....From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .....Sent: Thursday, March 10, 2005 10:21 AM .....To: CF-Talk .....Subject: RE: How to Browse and Choose Directory... ..... ..... .....Rick ..... .....I briefly looked into this for an extension for Farcry, I basically .....wanted .....the user to be able to upload a directory of images on the local machine .....instead of having to select one image at a time, I came up with a list of .....active-x controls and applets which could accomplish this, ..... .....I don't have the list on this machine but I'll check my home pc later ..... .....For now a quick google of file upload applet/active x turns up ..... .....http://jupload.sourceforge.net/ ..... .....http://demo.softartisans.com/demo-291.aspx ..... .....http://www.jscape.com/ftpapplet/ftp_applet_demo.jsp ..... .....http://www.radinks.com/upload/demo.php (this one allows drag and drop .....from .....the desktop :) ). ..... .....How suitable they are will depending on your requirements and the .....security .....implications. ..... .....HTH ..... .....Kola ..... ..... .....> -----Original Message----- .....> From: Rick Faircloth [mailto:[EMAIL PROTECTED] .....> Sent: 10 March 2005 14:59 .....> To: CF-Talk .....> Subject: RE: How to Browse and Choose Directory... .....> .....> Hi, Ben... .....> .....> Now, I'm quickly getting out of my league with possible security .....> breaches, but isn't there someway to protect against unauthorized .....> intrusion into non-specified folders? Like FTP uses to lock a user .....> into a home directory? .....> .....> Again, as far as making sure that only the right documents are .....available .....> in a particular folder they specify for upload...that's on the .....user...if .....> you .....> were to choose to upload your business plan by mistake instead of the .....> photo of your cat...whose fault is that? .....> .....> Surely, there should be a way to allow directory upload while limiting .....> security risks. (Maybe not currently, but in future versions of HTML / .....> CF) .....> .....> Rick .....> .....> -----Original Message----- .....> From: Ben Doom [mailto:[EMAIL PROTECTED] .....> Sent: Thursday, March 10, 2005 9:37 AM .....> To: CF-Talk .....> Subject: Re: How to Browse and Choose Directory... .....> .....> .....> > You know, the only reason I've heard discussed as to why directory .....> > contents can't be uploaded en masse like single files, is security. .....> > .....> > But what is the difference, except numbers of files, between a client .....> > specifying a single file for upload vs. an entire directory for .....upload? .....> > .....> > I don't see what the security issue is... .....> .....> I want to upload an image of my cat stored in my "My Pictures" folder. .....> While the webserver is at it, it also grabs my pic. Or I want to .....upload .....> a fanfic in the My Documents folder, and my business plan gets ripped. .....> Or how about this: if you allow recursive directory scanning, if I .....> upload something from the root of C: you could scan the contents of my .....> entire HDD. .....> .....> --Ben .....> .....> .....> .....> .....> ..... ..... ..... ..... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198202 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

