I think cfdirectory action="rename" may be able to move a directory.
----- Original Message ----- From: "Saturday (Stuart Kidd)" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Wednesday, October 19, 2005 5:13 PM Subject: Moving directories via CF code > Hi guys, > > Does anyone know whether it's possible to move a directory and its > contents to a different place without actually physically moving it > via a shell command or dragging and dropping (on Windows). > Is there a CF command to do it in my script or would that be a > security problem? > > I have a directory structure like: > > venues/venueID/events/eventID/image.jpg > > For instance I may have 3 files under the directory > > /venues/12/events/8/ > > mypic.jpg, mypic2.jpg and mypic3.jpg. > > It's possible an event will move to a different venue therefore it > would be good if i could move the eventID directory and its contents > to a new venueID directory. > > Any ideas or is it just plain stupid what i'm doing? > > Thanks, > > Saturday > > ps: i know i could have all the images one directory but it just > keeps them in good order this way. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:221591 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