> 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 am not sure if it fits your needs, but this CFC offer a bunch of File I/O
functionality, including the ability to move directories and their content
with a single method call:
http://www.olimpo.ch/tmt/cfc/tmt_file_io/

http://www.olimpo.ch/tmt/cfc/tmt_file_io/api.htm#method_moveDirectory

----------------------------
Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:221611
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to