Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Abs0 #1
Recursively Collect Files
Does anyone have experience with recursion in ColdFusion? I have a directory
of files that has a bunch of subdirectories that have subdirectories and files
in them. I need to get all the files databased, but I want to store the
directory structure with them. Is there some script someone has that will
allow me to do this? It basically needs to find all the subdirectories, open
them up one by one, collect the files and put them in a database, then open the
next subdirectory, etc, until done. Any help would be very very greatly
appreciated.
Abs0 Guest
-
How to move files and dirs recursively?
Is there a custom tag or such to allow me to perform file and directory moves? The cffile tag only moves a file at a time. I need to be able to... -
Need help with recursively getting data from database
Hello all, I'm trying to make a simple database that stores notes in categories. Notes can have multiple categories and categories can have other... -
Opening file units recursively
I have an application that reads a list of pathnames, and the list can contain "include" lines each of which specifies the path of a file to go off... -
How to list files recursively?
Hi NG, I am looking for a way to list files *recursively* from a given directory. Are there *builtin*-functions, that handle this? Thanks,... -
OT: How to recursively call a script?
OT: How to recursively call a script? I've got a Solaris box, and I need to remotely restart the ssh daemon. On Debian, most init scripts... -
Dan-CFTagStore.com #2
Re: Recursively Collect Files
Hi, I can help you out. Email me at [email]dan@digital-crew.com[/email]?subject=refMF The
easiest way is to write a custom tag that takes a folder as an attribute. In
the custom tag, do a cfdirectory list and if not empty, make a call to the same
tag, therefore creating your recursive nature. Regards, Dan.
Dan-CFTagStore.com Guest



Reply With Quote

