I am trying to find a way to get a list of all files (including those in sub 
directories) in a given directory. 

I've found how to get the name of a given path 

<CFSET FileName = 
GetFileFromPath("http://members.wri.com/brettb/pictures/2002/2002_05_06/";)> 

But I'd like this to be more generic. 

GetFilePaths("http://members.wri.com/brettb/pictures/";) 

That would return (in an array) the file paths of all files found there. 

Any suggestions? 

What I am wanting to do is find any new files (by comparing to a database) and 
then add new files as they are found. This would be run as a batch job.

I am building a picture database and I am trying to figure out the best way to 
get the filenames of pictures I put into this directory into the database. 
Potentially, I'll be uploading 20-30 at a time.. so doing them one at a time is 
less then desirable

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193453
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

Reply via email to